From 3aee6fb0507486534b0087df4b638390b81ba225 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Mon, 11 Feb 2019 22:36:31 -0800 Subject: [PATCH] fix: only call Royal the default theme if it is (#970) --- src/routes/_components/settings/instance/ThemeSettings.html | 3 ++- src/routes/_static/themes.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/routes/_components/settings/instance/ThemeSettings.html b/src/routes/_components/settings/instance/ThemeSettings.html index 310b8cb..65ec268 100644 --- a/src/routes/_components/settings/instance/ThemeSettings.html +++ b/src/routes/_components/settings/instance/ThemeSettings.html @@ -14,7 +14,7 @@ style="background-color: {theme.color};" > {/each} @@ -94,6 +94,7 @@ store: () => store, data: () => ({ themes, + DEFAULT_THEME, selectedTheme: DEFAULT_THEME }), computed: { diff --git a/src/routes/_static/themes.js b/src/routes/_static/themes.js index dd03143..66b9b0a 100644 --- a/src/routes/_static/themes.js +++ b/src/routes/_static/themes.js @@ -1,7 +1,7 @@ const themes = [ { name: 'default', - label: 'Royal (default)', + label: 'Royal', dark: false, color: 'royalblue' },