mirror of https://github.com/Lissy93/dashy.git
✏️ Re: #106 Fixes typo, deafault --> default
This commit is contained in:
parent
ecb613f03f
commit
38516d6dd2
|
@ -104,9 +104,9 @@ export default {
|
||||||
/* Updates theme. Checks if the new theme is local or external,
|
/* Updates theme. Checks if the new theme is local or external,
|
||||||
and calls appropirate updating function. Updates local storage */
|
and calls appropirate updating function. Updates local storage */
|
||||||
updateTheme(newTheme) {
|
updateTheme(newTheme) {
|
||||||
if (newTheme === 'Deafault') {
|
if (newTheme === 'Default') {
|
||||||
this.resetToDefault();
|
this.resetToDefault();
|
||||||
this.themeHelper.theme = 'Deafault';
|
this.themeHelper.theme = 'Default';
|
||||||
} else if (this.isThemeLocal(newTheme)) {
|
} else if (this.isThemeLocal(newTheme)) {
|
||||||
this.ApplyLocalTheme(newTheme);
|
this.ApplyLocalTheme(newTheme);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -157,7 +157,7 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
availibleThemes.Deafault = '#';
|
availibleThemes.Default = '#';
|
||||||
return availibleThemes;
|
return availibleThemes;
|
||||||
},
|
},
|
||||||
/* Checks if any of the icons are Font Awesome glyphs */
|
/* Checks if any of the icons are Font Awesome glyphs */
|
||||||
|
|
Loading…
Reference in New Issue