smaller fixes

This commit is contained in:
zadam
2020-01-25 18:29:32 +01:00
parent 48a7c0235f
commit 3f0974d3d2
6 changed files with 15 additions and 13 deletions

View File

@@ -79,19 +79,12 @@ class StandardWidget extends TabAwareWidget {
this.$headerActions = this.$widget.find('.widget-header-actions');
this.$headerActions.append(...this.getHeaderActions());
// actual rendering is async
this.renderBody();
this.initialized = this.renderBody();
return this.$widget;
}
async renderBody() {
// if (!this.isExpanded() || this.rendered) {
// return;
// }
//
// this.rendered = true;
await this.doRenderBody();
}