Combine dropped the empty elements, causing them not to be able to update

This commit is contained in:
Pieter Vander Vennet 2021-02-20 02:25:29 +01:00
parent 5a358a2abc
commit 09599e9f15
3 changed files with 24 additions and 29 deletions

View file

@ -25,11 +25,7 @@ export default class Combine extends UIElement {
console.error("Not a UI-element", ui);
return "";
}
let rendered = ui.Render();
if(ui.IsEmpty()){
return "";
}
return rendered;
return ui.Render();
}).join("");
}