Skip to content

Commit

Permalink
promotes attributes tab should be always visible when available, fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zadam committed Apr 6, 2023
1 parent 8229a97 commit 32e9fd2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/public/app/layouts/desktop_layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,17 @@ export default class DesktopLayout {
)
.child(
new RibbonContainer()
// order of the widgets matter. Some of these want to "activate" themselves
// when visible, when this happens to multiple of them, the first one "wins".
// promoted attributes should always win.
.ribbon(new PromotedAttributesWidget())
.ribbon(new ScriptExecutorWidget())
.ribbon(new SearchDefinitionWidget())
.ribbon(new EditedNotesWidget())
.ribbon(new BookPropertiesWidget())
.ribbon(new NotePropertiesWidget())
.ribbon(new FilePropertiesWidget())
.ribbon(new ImagePropertiesWidget())
.ribbon(new PromotedAttributesWidget())
.ribbon(new BasicPropertiesWidget())
.ribbon(new OwnedAttributeListWidget())
.ribbon(new InheritedAttributesWidget())
Expand Down

0 comments on commit 32e9fd2

Please sign in to comment.