use icons instead of text links for header actions

This commit is contained in:
zadam
2020-10-15 20:37:55 +02:00
parent ad878c078e
commit bf9bfe920a
5 changed files with 23 additions and 11 deletions

View File

@@ -77,13 +77,7 @@ export default class CollapsibleWidget extends TabAwareWidget {
}
this.$headerActions = this.$widget.find('.widget-header-actions');
let headerActions = this.headerActions;
if (headerActions.length > 0) {
headerActions = ["(", ...headerActions, ")"];
}
this.$headerActions.append(...headerActions);
this.$headerActions.append(this.headerActions);
this.initialized = this.doRenderBody();