File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed
_c8oProject/mobileSharedComponents Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -3370,6 +3370,12 @@ scriptContent:
33703370 }
33713371 }
33723372 let tsBody = parts.filter(function(part){return part !== "";}).join(" + ");
3373+ if(parts.length === 0){
3374+ return {
3375+ str: "(async ()=>{\n\treturn '''';\n})();",
3376+ type: ''ts''
3377+ };
3378+ }
33733379 if(tsBody.trim() === ""){
33743380 tsBody = "''";
33753381 }
@@ -4210,6 +4216,12 @@ scriptContent:
42104216 }
42114217 }
42124218 let tsBody = parts.filter(function(part){return part !== "";}).join(" + ");
4219+ if(parts.length === 0){
4220+ return {
4221+ str: "(async ()=>{\n\treturn '''';\n})();",
4222+ type: ''ts''
4223+ };
4224+ }
42134225 if(tsBody.trim() === ""){
42144226 tsBody = "''";
42154227 }
@@ -4779,6 +4791,12 @@ scriptContent:
47794791 }
47804792 }
47814793 let tsBody = parts.filter(function(part){return part !== "";}).join(" + ");
4794+ if(parts.length === 0){
4795+ return {
4796+ str: "(async ()=>{\n\treturn '''';\n})();",
4797+ type: ''ts''
4798+ };
4799+ }
47824800 if(tsBody.trim() === ""){
47834801 tsBody = "''";
47844802 }
@@ -5035,4 +5053,4 @@ scriptContent:
50355053↓subIndex [ngx.components.UICompVariable-1743089013339] :
50365054 value : null
50375055↓loop [ngx.components.UICompVariable-1743423846953] :
5038- value : false
5056+ value : false
You can’t perform that action at this time.
0 commit comments