Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:pencil2: Re: #106 Fixes typo, deafault --> default

Alicia Sykes38516d6dd267
diff --git a/src/components/Settings/ThemeSelector.vue b/src/components/Settings/ThemeSelector.vue
index 2789059b..75d452d7 100644
--- a/src/components/Settings/ThemeSelector.vue
+++ b/src/components/Settings/ThemeSelector.vue
@@ -104,9 +104,9 @@ export default {
/* Updates theme. Checks if the new theme is local or external,
and calls appropirate updating function. Updates local storage */
updateTheme(newTheme) {
- if (newTheme === 'Deafault') {
+ if (newTheme === 'Default') {
this.resetToDefault();
- this.themeHelper.theme = 'Deafault';
+ this.themeHelper.theme = 'Default';
} else if (this.isThemeLocal(newTheme)) {
this.ApplyLocalTheme(newTheme);
} else {
diff --git a/src/views/Home.vue b/src/views/Home.vue
index 4ce017dc..c0bc8911 100644
--- a/src/views/Home.vue
+++ b/src/views/Home.vue
@@ -157,7 +157,7 @@ export default {
}
}
}
- availibleThemes.Deafault = '#';
+ availibleThemes.Default = '#';
return availibleThemes;
},
/* Checks if any of the icons are Font Awesome glyphs */