mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-30 07:59:52 -08:00
fix radio button not checked
This commit is contained in:
parent
b69185ee9e
commit
550c9703a6
|
@ -206,6 +206,11 @@ export default {
|
||||||
loadSettings() {
|
loadSettings() {
|
||||||
this.$root.getSocket().emit("getSettings", (res) => {
|
this.$root.getSocket().emit("getSettings", (res) => {
|
||||||
this.settings = res.data;
|
this.settings = res.data;
|
||||||
|
|
||||||
|
if (this.settings.searchEngineIndex === undefined) {
|
||||||
|
this.settings.searchEngineIndex = false;
|
||||||
|
}
|
||||||
|
|
||||||
this.loaded = true;
|
this.loaded = true;
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue