forked from MapComplete/MapComplete
Combine dropped the empty elements, causing them not to be able to update
This commit is contained in:
parent
5a358a2abc
commit
09599e9f15
3 changed files with 24 additions and 29 deletions
|
@ -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("");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue