mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
fix saving new protected note revisions, closes #2951
This commit is contained in:
@@ -1255,7 +1255,7 @@ class Note extends AbstractEntity {
|
||||
? this.dateModified
|
||||
: contentMetadata.dateModified,
|
||||
dateCreated: dateUtils.localNowDateTime()
|
||||
}).save();
|
||||
}, true).save();
|
||||
|
||||
noteRevision.setContent(content);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user