forked from MapComplete/MapComplete
Fix warning
This commit is contained in:
parent
de4c31902e
commit
9a13df9130
1 changed files with 3 additions and 0 deletions
|
@ -58,6 +58,9 @@ export class Translation extends UIElement {
|
||||||
if (translationsKey === "#") {
|
if (translationsKey === "#") {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if(!this.translations.hasOwnProperty(translationsKey)){
|
||||||
|
continue
|
||||||
|
}
|
||||||
langs.push(translationsKey)
|
langs.push(translationsKey)
|
||||||
}
|
}
|
||||||
return langs;
|
return langs;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue