diff --git a/apps/client/src/widgets/note_wrapper.ts b/apps/client/src/widgets/note_wrapper.ts index 2e59cfbab..13c01418a 100644 --- a/apps/client/src/widgets/note_wrapper.ts +++ b/apps/client/src/widgets/note_wrapper.ts @@ -23,7 +23,9 @@ export default class NoteWrapperWidget extends FlexContainer { this.refresh(); } - noteSwitchedAndActivatedEvent() { + noteSwitchedAndActivatedEvent({ noteContext }: EventData<"setNoteContext">) { + this.noteContext = noteContext; + this.refresh(); }