mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +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();
|
this.$inheritedAttributesWrapper.hide();
|
||||||
} else {
|
} else {
|
||||||
this.$promotedExpander.hide();
|
this.$promotedExpander.hide();
|
||||||
|
this.$allAttrWrapper.show();
|
||||||
this.$ownedAndInheritedWrapper.toggle(options.is('attributeListExpanded'));
|
this.$ownedAndInheritedWrapper.toggle(options.is('attributeListExpanded'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -37,6 +37,7 @@ const TPL = `
|
|||||||
export default class PromotedAttributesWidget extends TabAwareWidget {
|
export default class PromotedAttributesWidget extends TabAwareWidget {
|
||||||
doRender() {
|
doRender() {
|
||||||
this.$widget = $(TPL);
|
this.$widget = $(TPL);
|
||||||
|
this.overflowing();
|
||||||
this.$container = this.$widget.find(".promoted-attributes-container");
|
this.$container = this.$widget.find(".promoted-attributes-container");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user