mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04: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 New Issue
Block a user