fix failSafePlaceholders function to return element if defined

This commit is contained in:
mic 2025-03-18 22:26:25 +01:00
parent 109cd66c42
commit 08f9fef402

View file

@ -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;
} }
} }