⚡ Updates method of getting initial theme
This commit is contained in:
@@ -125,7 +125,7 @@ export default {
|
|||||||
getInitialTheme() {
|
getInitialTheme() {
|
||||||
const localTheme = localStorage[localStorageKeys.THEME];
|
const localTheme = localStorage[localStorageKeys.THEME];
|
||||||
if (localTheme && localTheme !== 'undefined') return localTheme;
|
if (localTheme && localTheme !== 'undefined') return localTheme;
|
||||||
return this.confTheme || Defaults.theme;
|
return this.appConfig.theme || Defaults.theme;
|
||||||
},
|
},
|
||||||
/* Determines if a given theme is local / not a custom user stylesheet */
|
/* Determines if a given theme is local / not a custom user stylesheet */
|
||||||
isThemeLocal(themeToCheck) {
|
isThemeLocal(themeToCheck) {
|
||||||
|
|||||||
Reference in New Issue
Block a user