forked from MapComplete/MapComplete
Finetuning of the filter functionality
This commit is contained in:
parent
31d2bd83b9
commit
79569f5119
17 changed files with 219 additions and 309 deletions
|
@ -19,7 +19,7 @@ export default class Translations {
|
|||
|
||||
|
||||
static T(t: string | any, context = undefined): Translation {
|
||||
if(t === undefined){
|
||||
if(t === undefined || t === null){
|
||||
return undefined;
|
||||
}
|
||||
if(typeof t === "string"){
|
||||
|
@ -38,7 +38,7 @@ export default class Translations {
|
|||
|
||||
private static wtcache = {}
|
||||
public static WT(s: string | Translation): Translation {
|
||||
if(s === undefined){
|
||||
if(s === undefined || s === null){
|
||||
return undefined;
|
||||
}
|
||||
if (typeof (s) === "string") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue