Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
Make note wrapper widget aware of note context on mobile
Papierkorb2292c99ef4a549f3
diff --git a/apps/client/src/widgets/note_wrapper.ts b/apps/client/src/widgets/note_wrapper.tsindex 2e59cfbab6..13c01418a9 100644--- a/apps/client/src/widgets/note_wrapper.ts+++ b/apps/client/src/widgets/note_wrapper.ts@@ -23,7 +23,9 @@ export default class NoteWrapperWidget extends FlexContainer<BasicWidget> {this.refresh();}- noteSwitchedAndActivatedEvent() {+ noteSwitchedAndActivatedEvent({ noteContext }: EventData<"setNoteContext">) {+ this.noteContext = noteContext;+this.refresh();}