You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Currently, the "preserve dark mode" setting is not working properly, even by uncommenting the required lines in
main.js
anddarkMode.js
The reason is that the value used to set the
darkMode
key indarkMode.js::localStorage.setItem()
should bethis.isEnabled ? '1' : '0'
instead ofthis.darkMode ? '1' : '0'
.Indeed, the
darkMode
ref does not exist.admin-one-vue-tailwind/src/stores/darkMode.js
Lines 19 to 23 in fffb685
The text was updated successfully, but these errors were encountered: