diff options
Diffstat (limited to 'client/src/app/core/theme/theme.service.ts')
-rw-r--r-- | client/src/app/core/theme/theme.service.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/core/theme/theme.service.ts b/client/src/app/core/theme/theme.service.ts index da6f2442a..40939ecb8 100644 --- a/client/src/app/core/theme/theme.service.ts +++ b/client/src/app/core/theme/theme.service.ts | |||
@@ -49,9 +49,9 @@ export class ThemeService { | |||
49 | return $localize`Light/Orange` | 49 | return $localize`Light/Orange` |
50 | } | 50 | } |
51 | 51 | ||
52 | getAvailableThemeLabels () { | 52 | buildAvailableThemes () { |
53 | return this.serverConfig.theme.registered | 53 | return this.serverConfig.theme.registered |
54 | .map(t => capitalizeFirstLetter(t.name)) | 54 | .map(t => ({ id: t.name, label: capitalizeFirstLetter(t.name) })) |
55 | } | 55 | } |
56 | 56 | ||
57 | private injectThemes (themes: ServerConfigTheme[], fromLocalStorage = false) { | 57 | private injectThemes (themes: ServerConfigTheme[], fromLocalStorage = false) { |