mirror of
https://github.com/zadam/trilium.git
synced 2025-01-14 19:19:28 +08:00
promotes attributes tab should be always visible when available, fixes #3806
This commit is contained in:
parent
8229a97ffb
commit
32e9fd291d
1 changed files with 4 additions and 1 deletions
|
@ -128,6 +128,10 @@ 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())
|
||||
|
@ -135,7 +139,6 @@ export default class DesktopLayout {
|
|||
.ribbon(new NotePropertiesWidget())
|
||||
.ribbon(new FilePropertiesWidget())
|
||||
.ribbon(new ImagePropertiesWidget())
|
||||
.ribbon(new PromotedAttributesWidget())
|
||||
.ribbon(new BasicPropertiesWidget())
|
||||
.ribbon(new OwnedAttributeListWidget())
|
||||
.ribbon(new InheritedAttributesWidget())
|
||||
|
|
Loading…
Reference in a new issue