mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 06:45:49 +01:00
use icons instead of text links for header actions
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user