Minor syntax fix.

This commit is contained in:
Dessalines 2020-07-29 22:35:08 -04:00
parent 25e61b276a
commit c24a619594

2
ui/src/utils.ts vendored
View File

@ -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 user = UserService.Instance.user;
let lang = override || (user && user.lang ? user.lang : 'browser'); let lang = override || (user && user.lang ? user.lang : 'browser');