Make note wrapper widget aware of note context on mobile

This commit is contained in:
Papierkorb2292 2025-09-01 11:01:29 +02:00
parent c629ce6ef8
commit c99ef4a549

View File

@ -23,7 +23,9 @@ export default class NoteWrapperWidget extends FlexContainer<BasicWidget> {
this.refresh();
}
noteSwitchedAndActivatedEvent() {
noteSwitchedAndActivatedEvent({ noteContext }: EventData<"setNoteContext">) {
this.noteContext = noteContext;
this.refresh();
}