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: do not clear attachment upload status on complete
Abdullah Atta403ed8adb613
diff --git a/apps/web/src/app-effects.tsx b/apps/web/src/app-effects.tsxindex 6ed545297..98a85f286 100644--- a/apps/web/src/app-effects.tsx+++ b/apps/web/src/app-effects.tsx@@ -164,15 +164,11 @@ export default function AppEffects({ setShow }: AppEffectsProps) {const percent = Math.round((loaded / total) * 100);const text = getStatus(key)?.status || `${status} attachment`;- if (loaded === total) {- removeStatus(key);- } else {- updateStatus({- key,- status: text,- progress: loaded === total ? 100 : percent- });- }+ updateStatus({+ key,+ status: text,+ progress: loaded === total ? 100 : percent+ });});