Minor syntax fix.
This commit is contained in:
parent
25e61b276a
commit
c24a619594
1 changed files with 1 additions and 1 deletions
2
ui/src/utils.ts
vendored
2
ui/src/utils.ts
vendored
|
@ -350,7 +350,7 @@ export function debounce(
|
|||
};
|
||||
}
|
||||
|
||||
export function getLanguage(override: string): string {
|
||||
export function getLanguage(override?: string): string {
|
||||
let user = UserService.Instance.user;
|
||||
let lang = override || (user && user.lang ? user.lang : 'browser');
|
||||
|
||||
|
|
Loading…
Reference in a new issue