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