mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-01-26 05:27:35 +02:00
ordering languages alphabetically #438
This commit is contained in:
parent
c32d625308
commit
41b94f11e9
@ -15,7 +15,7 @@ export class LanguageComponent {
|
||||
current: string = null;
|
||||
|
||||
constructor(private cookieService: CookieService) {
|
||||
this.languages = Config.Client.languages;
|
||||
this.languages = Config.Client.languages.sort();
|
||||
if (this.cookieService.get(CookieNames.lang) != null) {
|
||||
this.current = this.cookieService.get(CookieNames.lang);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user