mirror of
https://github.com/zadam/trilium.git
synced 2025-06-05 01:18:44 +02:00
fixed promoted attribute display
This commit is contained in:
parent
5d500de527
commit
058edcfe15
@ -174,6 +174,7 @@ export default class AttributeListWidget extends TabAwareWidget {
|
||||
this.$inheritedAttributesWrapper.hide();
|
||||
} else {
|
||||
this.$promotedExpander.hide();
|
||||
this.$allAttrWrapper.show();
|
||||
this.$ownedAndInheritedWrapper.toggle(options.is('attributeListExpanded'));
|
||||
}
|
||||
}
|
||||
|
@ -37,6 +37,7 @@ const TPL = `
|
||||
export default class PromotedAttributesWidget extends TabAwareWidget {
|
||||
doRender() {
|
||||
this.$widget = $(TPL);
|
||||
this.overflowing();
|
||||
this.$container = this.$widget.find(".promoted-attributes-container");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user