mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-24 18:15:17 +00:00
Minor syntax fix.
This commit is contained in:
parent
25e61b276a
commit
c24a619594
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