mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-10 13:23:15 +08:00
Move Apprise check to child component
This commit is contained in:
@@ -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: {
|
||||
|
||||
|
Reference in New Issue
Block a user