Fix dark mode issue
This commit is contained in:
parent
0fda0c3fbc
commit
5e6f4d78a1
|
@ -117,8 +117,10 @@ const loadForm = async (setup=false) => {
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
loadForm()
|
loadForm()
|
||||||
handleDarkMode(form.value.dark_mode)
|
if (form.value) {
|
||||||
handleTransparentMode(form.value.transparent_background)
|
handleDarkMode(form.value?.dark_mode)
|
||||||
|
handleTransparentMode(form.value?.transparent_background)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
await loadForm(true)
|
await loadForm(true)
|
||||||
|
|
Loading…
Reference in New Issue