Also update note context in other note context events in note wrapper so it works with tabs

This commit is contained in:
Papierkorb2292 2025-09-01 11:33:15 +02:00
parent c99ef4a549
commit 623fcce3d1

View File

@ -29,11 +29,15 @@ export default class NoteWrapperWidget extends FlexContainer<BasicWidget> {
this.refresh(); this.refresh();
} }
noteSwitchedEvent() { noteSwitchedEvent({ noteContext }: EventData<"setNoteContext">) {
this.noteContext = noteContext;
this.refresh(); this.refresh();
} }
activeContextChangedEvent() { activeContextChangedEvent({ noteContext }: EventData<"setNoteContext">) {
this.noteContext = noteContext;
this.refresh(); this.refresh();
} }