mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 22:05:44 +01:00
global link map WIP
This commit is contained in:
@@ -328,9 +328,10 @@ class ConsistencyChecks {
|
||||
({noteId, type, mime}) => {
|
||||
if (this.autoFix) {
|
||||
const note = becca.getNote(noteId);
|
||||
note.setContent(getBlankContent(false, type, mime));
|
||||
const blankContent = getBlankContent(false, type, mime);
|
||||
note.setContent(blankContent);
|
||||
|
||||
logFix(`Note ${noteId} content was set to empty string since it was null even though it is not deleted`);
|
||||
logFix(`Note ${noteId} content was set to "${blankContent}" since it was null even though it is not deleted`);
|
||||
} else {
|
||||
logError(`Note ${noteId} content is null even though it is not deleted`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user