mirror of
https://github.com/zadam/trilium.git
synced 2025-01-15 03:27:44 +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(
|
.child(
|
||||||
new RibbonContainer()
|
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 ScriptExecutorWidget())
|
||||||
.ribbon(new SearchDefinitionWidget())
|
.ribbon(new SearchDefinitionWidget())
|
||||||
.ribbon(new EditedNotesWidget())
|
.ribbon(new EditedNotesWidget())
|
||||||
|
@ -135,7 +139,6 @@ export default class DesktopLayout {
|
||||||
.ribbon(new NotePropertiesWidget())
|
.ribbon(new NotePropertiesWidget())
|
||||||
.ribbon(new FilePropertiesWidget())
|
.ribbon(new FilePropertiesWidget())
|
||||||
.ribbon(new ImagePropertiesWidget())
|
.ribbon(new ImagePropertiesWidget())
|
||||||
.ribbon(new PromotedAttributesWidget())
|
|
||||||
.ribbon(new BasicPropertiesWidget())
|
.ribbon(new BasicPropertiesWidget())
|
||||||
.ribbon(new OwnedAttributeListWidget())
|
.ribbon(new OwnedAttributeListWidget())
|
||||||
.ribbon(new InheritedAttributesWidget())
|
.ribbon(new InheritedAttributesWidget())
|
||||||
|
|
Loading…
Reference in a new issue