mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 17:08:58 +01:00
chore(react/type_widgets): active note not refreshing
This commit is contained in:
parent
763c489cd3
commit
e1ac319a7b
@ -21,7 +21,7 @@ export default function Render({ note, noteContext, ntxId }: TypeWidgetProps) {
|
|||||||
|
|
||||||
// Keyboard shortcut.
|
// Keyboard shortcut.
|
||||||
useTriliumEvent("renderActiveNote", () => {
|
useTriliumEvent("renderActiveNote", () => {
|
||||||
if (noteContext?.isActive()) return;
|
if (!noteContext?.isActive()) return;
|
||||||
refresh();
|
refresh();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user