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
chore(mobile): add possible work-around for note switcher sometimes disappearing
Elian Doran29ce004974cb
diff --git a/apps/client/src/widgets/layout/NoteTitleActions.tsx b/apps/client/src/widgets/layout/NoteTitleActions.tsxindex 7c4e68698a..c11b690b51 100644--- a/apps/client/src/widgets/layout/NoteTitleActions.tsx+++ b/apps/client/src/widgets/layout/NoteTitleActions.tsx@@ -23,7 +23,7 @@ export default function NoteTitleActions() {<PromotedAttributes note={note} componentId={componentId} noteContext={noteContext} />{noteType === "search" && <SearchProperties note={note} ntxId={ntxId} />}<EditedNotes />- {viewScope?.viewMode === "default" && <NoteTypeSwitcher />}+ {!viewScope?.viewMode || viewScope.viewMode === "default" && <NoteTypeSwitcher />}</div>);}