mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
wip
This commit is contained in:
parent
69d529ada1
commit
2e24111c2b
@ -156,7 +156,7 @@ export default class AttributeDetailWidget extends BasicWidget {
|
||||
this.$relatedNotesMoreNotes.hide();
|
||||
}
|
||||
|
||||
this.$attrEditName.val(attr.name).focus();
|
||||
this.$attrEditName.val(attr.name);
|
||||
this.$attrEditValue.val(attr.value);
|
||||
|
||||
this.$widget.css("left", x - this.$widget.width() / 2);
|
||||
|
@ -147,8 +147,9 @@ const TPL = `
|
||||
}
|
||||
|
||||
.add-new-attribute-button {
|
||||
color: var(--muted-text-color);
|
||||
position: absolute;
|
||||
bottom: 5px;
|
||||
bottom: 5px;
|
||||
right: 5px;
|
||||
cursor: pointer;
|
||||
border: 1px solid transparent;
|
||||
@ -437,6 +438,8 @@ export default class NoteAttributesWidget extends TabAwareWidget {
|
||||
|
||||
this.$inheritedExpanderText.text(inheritedAttributes.length + ' inherited ' + this.attrPlural(inheritedAttributes.length));
|
||||
|
||||
this.$inheritedAttributes.empty();
|
||||
|
||||
await this.renderAttributes(inheritedAttributes, this.$inheritedAttributes);
|
||||
|
||||
this.parseAttributes();
|
||||
|
Loading…
x
Reference in New Issue
Block a user