fix creating new promoted attributes, closes #1008

(cherry picked from commit 2e0fb8aaf1)
This commit is contained in:
zadam
2020-05-11 23:57:39 +02:00
parent e541abbd60
commit cb70109ee7
6 changed files with 52 additions and 56 deletions

View File

@@ -411,10 +411,6 @@ class Note extends Entity {
}
});
for (const attr of filteredAttributes) {
attr.isOwned = attr.noteId === this.noteId;
}
this.__attributeCache = filteredAttributes;
}
@@ -946,4 +942,4 @@ class Note extends Entity {
}
}
module.exports = Note;
module.exports = Note;