diff options
Diffstat (limited to 'client/src/app/menu')
-rw-r--r-- | client/src/app/menu/language-chooser.component.ts | 2 | ||||
-rw-r--r-- | client/src/app/menu/menu.component.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/menu/language-chooser.component.ts b/client/src/app/menu/language-chooser.component.ts index e15aeff20..b42e41855 100644 --- a/client/src/app/menu/language-chooser.component.ts +++ b/client/src/app/menu/language-chooser.component.ts | |||
@@ -18,7 +18,7 @@ export class LanguageChooserComponent { | |||
18 | @Inject(LOCALE_ID) private localeId: string | 18 | @Inject(LOCALE_ID) private localeId: string |
19 | ) { | 19 | ) { |
20 | const l = Object.keys(I18N_LOCALES) | 20 | const l = Object.keys(I18N_LOCALES) |
21 | .map(k => ({ id: k, label: I18N_LOCALES[k] , iso: getShortLocale(k) })) | 21 | .map(k => ({ id: k, label: I18N_LOCALES[k], iso: getShortLocale(k) })) |
22 | 22 | ||
23 | this.languages = sortBy(l, 'label') | 23 | this.languages = sortBy(l, 'label') |
24 | } | 24 | } |
diff --git a/client/src/app/menu/menu.component.ts b/client/src/app/menu/menu.component.ts index 627a8712f..97f07c956 100644 --- a/client/src/app/menu/menu.component.ts +++ b/client/src/app/menu/menu.component.ts | |||
@@ -28,7 +28,7 @@ const logger = debug('peertube:menu:MenuComponent') | |||
28 | @Component({ | 28 | @Component({ |
29 | selector: 'my-menu', | 29 | selector: 'my-menu', |
30 | templateUrl: './menu.component.html', | 30 | templateUrl: './menu.component.html', |
31 | styleUrls: ['./menu.component.scss'] | 31 | styleUrls: [ './menu.component.scss' ] |
32 | }) | 32 | }) |
33 | export class MenuComponent implements OnInit { | 33 | export class MenuComponent implements OnInit { |
34 | @ViewChild('languageChooserModal', { static: true }) languageChooserModal: LanguageChooserComponent | 34 | @ViewChild('languageChooserModal', { static: true }) languageChooserModal: LanguageChooserComponent |