From 4d09fabad86dc9b180e03561b44c18b1923ad9ca Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 3 Aug 2025 20:00:30 +0300 Subject: [PATCH] feat(react): slightly faster about --- apps/client/src/widgets/dialogs/about.tsx | 78 +++++++++++------------ 1 file changed, 38 insertions(+), 40 deletions(-) diff --git a/apps/client/src/widgets/dialogs/about.tsx b/apps/client/src/widgets/dialogs/about.tsx index b315d52cd..6638dc059 100644 --- a/apps/client/src/widgets/dialogs/about.tsx +++ b/apps/client/src/widgets/dialogs/about.tsx @@ -22,46 +22,44 @@ function AboutDialogComponent() { return ( - {(appInfo !== null) ? ( - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{t("about.homepage")}https://github.com/TriliumNext/Trilium
{t("about.app_version")}{appInfo.appVersion}
{t("about.db_version")}{appInfo.dbVersion}
{t("about.sync_version")}{appInfo.syncVersion}
{t("about.build_date")}{formatDateTime(appInfo.buildDate)}
{t("about.build_revision")} - {appInfo.buildRevision} -
{t("about.data_directory")} - -
- ) : ( -
- )} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{t("about.homepage")}https://github.com/TriliumNext/Trilium
{t("about.app_version")}{appInfo?.appVersion}
{t("about.db_version")}{appInfo?.dbVersion}
{t("about.sync_version")}{appInfo?.syncVersion}
{t("about.build_date")} + {appInfo?.buildDate ? formatDateTime(appInfo.buildDate) : ""} +
{t("about.build_revision")} + {appInfo?.buildRevision && {appInfo.buildRevision}} +
{t("about.data_directory")} + {appInfo?.dataDirectory && ()} +
); }