mirror of
https://github.com/zadam/trilium.git
synced 2025-12-03 22:14:24 +01:00
fix(react/type_widgets): revision causes jump at start of editor (closes #7912)
This commit is contained in:
parent
a7870495ac
commit
9f74a54c0d
@ -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();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user