Open
Description
Currently, the "preserve dark mode" setting is not working properly, even by uncommenting the required lines in main.js
and darkMode.js
The reason is that the value used to set the darkMode
key in darkMode.js::localStorage.setItem()
should be this.isEnabled ? '1' : '0'
instead of this.darkMode ? '1' : '0'
.
Indeed, the darkMode
ref does not exist.
admin-one-vue-tailwind/src/stores/darkMode.js
Lines 19 to 23 in fffb685
Metadata
Metadata
Assignees
Labels
No labels