mirror of
https://github.com/zadam/trilium.git
synced 2025-10-27 17:49:02 +01: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();
|
this.refresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
noteSwitchedAndActivatedEvent() {
|
noteSwitchedAndActivatedEvent({ noteContext }: EventData<"setNoteContext">) {
|
||||||
|
this.noteContext = noteContext;
|
||||||
|
|
||||||
this.refresh();
|
this.refresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user