mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-16 12:41:31 +03:00
Added in if statement
This commit is contained in:
parent
fa19adcfe0
commit
b8008b5f19
1 changed files with 3 additions and 1 deletions
|
@ -355,7 +355,9 @@ export function setSpellCheckLanguages(preferredLangs: string[]) {
|
|||
|
||||
export async function getAvailableSpellCheckLanguages(): Promise<string[]> {
|
||||
const plaf = PlatformPeg.get();
|
||||
if (plaf) {
|
||||
return plaf.getAvailableSpellCheckLanguages();
|
||||
}
|
||||
}
|
||||
|
||||
export function getAllLanguagesFromJson() {
|
||||
|
|
Loading…
Reference in a new issue