From 38516d6dd2679c612e9611eadbf826877f8a3c8f Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sat, 31 Jul 2021 18:33:52 +0100 Subject: [PATCH] :pencil2: Re: #106 Fixes typo, deafault --> default --- src/components/Settings/ThemeSelector.vue | 4 ++-- src/views/Home.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 */