Finetuning of the filter functionality

This commit is contained in:
Pieter Vander Vennet 2021-07-27 19:39:57 +02:00
parent 31d2bd83b9
commit 79569f5119
17 changed files with 219 additions and 309 deletions

View file

@ -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") {