mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-22 21:09:03 +08:00
Fix "Check Update" is not checked by default
This commit is contained in:
@@ -121,6 +121,10 @@ export default {
|
||||
this.$root.getSocket().emit("getSettings", (res) => {
|
||||
this.settings = res.data;
|
||||
|
||||
if (this.settings.checkUpdate === undefined) {
|
||||
this.settings.checkUpdate = true;
|
||||
}
|
||||
|
||||
if (this.settings.searchEngineIndex === undefined) {
|
||||
this.settings.searchEngineIndex = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user