introduction of refreshWithNote

This commit is contained in:
zadam
2020-01-19 11:37:24 +01:00
parent adb9ce5e93
commit 9f1e777e6d
16 changed files with 49 additions and 44 deletions

View File

@@ -23,7 +23,7 @@ class AttributesWidget extends StandardWidget {
return [$showFullButton];
}
async refresh() {
async refreshWithNote() {
const attributes = await this.tabContext.attributes.getAttributes();console.log("attributes", attributes);
const ownedAttributes = attributes.filter(attr => attr.noteId === this.tabContext.note.noteId);