fix: only call Royal the default theme if it is (#970)

This commit is contained in:
Nolan Lawson 2019-02-11 22:36:31 -08:00 committed by GitHub
parent 30048a7f12
commit 3aee6fb050
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -14,7 +14,7 @@
style="background-color: {theme.color};" >
</div>
<label class="theme-picker-label" for="choice-theme-{theme.name}">
{theme.label}
{theme.label} {theme.name === DEFAULT_THEME ? '(default)' : ''}
</label>
</div>
{/each}
@ -94,6 +94,7 @@
store: () => store,
data: () => ({
themes,
DEFAULT_THEME,
selectedTheme: DEFAULT_THEME
}),
computed: {

View File

@ -1,7 +1,7 @@
const themes = [
{
name: 'default',
label: 'Royal (default)',
label: 'Royal',
dark: false,
color: 'royalblue'
},