mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
fixes, separation of notefull from noteshort
This commit is contained in:
@@ -35,10 +35,10 @@ export default class PromotedAttributesWidget extends TabAwareWidget {
|
||||
return this.$widget;
|
||||
}
|
||||
|
||||
async refreshWithNote() {
|
||||
async refreshWithNote(note) {
|
||||
this.$container.empty();
|
||||
|
||||
const attributes = await this.tabContext.attributes.getAttributes();
|
||||
const attributes = await note.getAttributes();
|
||||
|
||||
const promoted = attributes.filter(attr =>
|
||||
(attr.type === 'label-definition' || attr.type === 'relation-definition')
|
||||
|
||||
Reference in New Issue
Block a user