fix failSafePlaceholders function to return element if defined
This commit is contained in:
parent
109cd66c42
commit
08f9fef402
1 changed files with 2 additions and 0 deletions
|
|
@ -357,9 +357,11 @@ export const placeholdersUtils = {
|
||||||
},
|
},
|
||||||
|
|
||||||
failSafePlaceholders(element){
|
failSafePlaceholders(element){
|
||||||
|
//console.log(">>>>>>>>>> failSafePlaceholders element: " + JSON.stringify(element));
|
||||||
if(element === null || element === undefined){
|
if(element === null || element === undefined){
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
return element;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue