mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 04:45:47 +01:00
small fixes
This commit is contained in:
@@ -370,7 +370,8 @@ async function findLogicIssues() {
|
||||
async ({noteRevisionId}, autoFix) => {
|
||||
if (autoFix) {
|
||||
const noteRevision = await repository.getNoteRevision(noteRevisionId);
|
||||
await noteRevision.setContent('');
|
||||
noteRevision.isErased = true;
|
||||
await noteRevision.save();
|
||||
|
||||
logFix(`Note revision ${noteRevisionId} content was set to empty string since it was null even though it is not erased`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user