mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 09:56:36 +01:00
fixes in attribute persistence + WIP on display of promoted attrs
This commit is contained in:
@@ -18,8 +18,6 @@ class NoteImage extends Entity {
|
||||
}
|
||||
|
||||
beforeSaving() {
|
||||
super.beforeSaving();
|
||||
|
||||
if (!this.isDeleted) {
|
||||
this.isDeleted = false;
|
||||
}
|
||||
@@ -29,6 +27,8 @@ class NoteImage extends Entity {
|
||||
}
|
||||
|
||||
this.dateModified = dateUtils.nowDate();
|
||||
|
||||
super.beforeSaving();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user