mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fix note revision saving
This commit is contained in:
parent
acbd18e8fc
commit
b897c6de13
@ -182,7 +182,7 @@ async function saveNoteRevision(note) {
|
||||
const msSinceDateCreated = now.getTime() - dateUtils.parseDateTime(note.dateCreated).getTime();
|
||||
|
||||
if (note.type !== 'file'
|
||||
&& await note.hasLabel('disableVersioning')
|
||||
&& !await note.hasLabel('disableVersioning')
|
||||
&& !existingnoteRevisionId
|
||||
&& msSinceDateCreated >= noteRevisionSnapshotTimeInterval * 1000) {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user