mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
Also update note context in other note context events in note wrapper so it works with tabs
This commit is contained in:
parent
c99ef4a549
commit
623fcce3d1
@ -29,11 +29,15 @@ export default class NoteWrapperWidget extends FlexContainer<BasicWidget> {
|
||||
this.refresh();
|
||||
}
|
||||
|
||||
noteSwitchedEvent() {
|
||||
noteSwitchedEvent({ noteContext }: EventData<"setNoteContext">) {
|
||||
this.noteContext = noteContext;
|
||||
|
||||
this.refresh();
|
||||
}
|
||||
|
||||
activeContextChangedEvent() {
|
||||
activeContextChangedEvent({ noteContext }: EventData<"setNoteContext">) {
|
||||
this.noteContext = noteContext;
|
||||
|
||||
this.refresh();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user