fixed promoted attribute display

This commit is contained in:
zadam 2020-08-30 22:39:15 +02:00
parent 5d500de527
commit 058edcfe15
2 changed files with 2 additions and 0 deletions

View File

@ -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'));
} }
} }

View File

@ -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");
} }