mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 17:26:38 +01:00
activateNewNote does not reload whole tree anymore
This commit is contained in:
@@ -553,7 +553,7 @@ class Note extends Entity {
|
||||
const attributes = await this.loadOwnedAttributesToCache();
|
||||
|
||||
for (const attribute of attributes) {
|
||||
if (attribute.type === type && (value === undefined || value === attribute.value)) {
|
||||
if (attribute.type === type && attribute.name === name && (value === undefined || value === attribute.value)) {
|
||||
attribute.isDeleted = true;
|
||||
await attribute.save();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user