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
feat(mobile/tab_switcher): hide icon for new tab
Elian Doranbec7943e058f
diff --git a/apps/client/src/widgets/mobile_widgets/TabSwitcher.tsx b/apps/client/src/widgets/mobile_widgets/TabSwitcher.tsxindex 7f80360ee8..c779a58042 100644--- a/apps/client/src/widgets/mobile_widgets/TabSwitcher.tsx+++ b/apps/client/src/widgets/mobile_widgets/TabSwitcher.tsx@@ -129,7 +129,7 @@ function Tab({ noteContext, containerRef, selectTab, activeNtxId }: {}}><header className={colorClass}>- <Icon icon={iconClass} />+ {note && <Icon icon={iconClass} />}<span className="title">{noteContext.note?.title ?? t("tab_row.new_tab")}</span><ActionButtonicon="bx bx-x"