A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
web: only show sync status in placeholder on first sync
Abdullah Atta197ff36c2015
diff --git a/apps/web/src/components/placeholders/index.tsx b/apps/web/src/components/placeholders/index.tsxindex 6df137ac6..e302e962b 100644--- a/apps/web/src/components/placeholders/index.tsx+++ b/apps/web/src/components/placeholders/index.tsx@@ -28,8 +28,9 @@ function Placeholder(props: PlaceholderProps) {const { context, text } = props;const tip = useTip(context);const syncStatus = useAppStore((store) => store.syncStatus);+ const isFirstSync = useAppStore((store) => store.lastSynced === 0);- if (syncStatus.key === "syncing" && context === "notes") {+ if (isFirstSync && syncStatus.key === "syncing" && context === "notes") {return (<Flexvariant="columnCenter"