mirror of
https://github.com/zadam/trilium.git
synced 2025-12-17 13:49:58 +01:00
fix(react/type_widgets): revision causes jump at start of editor (closes #7912)
This commit is contained in:
@@ -484,8 +484,7 @@ export function useNoteBlob(note: FNote | null | undefined, componentId?: string
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (loadResults.hasRevisionForNote(note.noteId) ||
|
if (loadResults.isNoteContentReloaded(note.noteId, componentId)) {
|
||||||
loadResults.isNoteContentReloaded(note.noteId, componentId)) {
|
|
||||||
refresh();
|
refresh();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user