mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
Make note wrapper widget aware of note context on mobile
This commit is contained in:
@@ -23,7 +23,9 @@ export default class NoteWrapperWidget extends FlexContainer<BasicWidget> {
|
|||||||
this.refresh();
|
this.refresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
noteSwitchedAndActivatedEvent() {
|
noteSwitchedAndActivatedEvent({ noteContext }: EventData<"setNoteContext">) {
|
||||||
|
this.noteContext = noteContext;
|
||||||
|
|
||||||
this.refresh();
|
this.refresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user