mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-27 00:35:53 -04:00
Move Apprise check to child component
This commit is contained in:
parent
e9735d239b
commit
534ac4b720
2 changed files with 8 additions and 8 deletions
|
@ -100,8 +100,7 @@ export default {
|
|||
type: null,
|
||||
isDefault: false,
|
||||
// Do not set default value here, please scroll to show()
|
||||
},
|
||||
appriseInstalled: false,
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -131,10 +130,6 @@ export default {
|
|||
},
|
||||
mounted() {
|
||||
this.modal = new Modal(this.$refs.modal)
|
||||
|
||||
this.$root.getSocket().emit("checkApprise", (installed) => {
|
||||
this.appriseInstalled = installed;
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue