mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 22:05:44 +01:00
fix a bug which caused immedate deletion of created attributes
This commit is contained in:
@@ -274,6 +274,8 @@ class AbstractBeccaEntity {
|
||||
[this.dateModified, entityId]);
|
||||
}
|
||||
|
||||
console.trace("DELETE");
|
||||
|
||||
log.info(`Marking ${entityName} ${entityId} as deleted`);
|
||||
|
||||
this.addEntityChange(true);
|
||||
@@ -291,6 +293,8 @@ class AbstractBeccaEntity {
|
||||
WHERE ${this.constructor.primaryKeyName} = ?`,
|
||||
[this.utcDateModified, entityId]);
|
||||
|
||||
console.trace("DELETE");
|
||||
|
||||
log.info(`Marking ${entityName} ${entityId} as deleted`);
|
||||
|
||||
this.addEntityChange(true);
|
||||
|
||||
Reference in New Issue
Block a user