diff --git a/app/scenes/Settings/ImportExport.js b/app/scenes/Settings/ImportExport.js index 9ae3c5949..338197ab2 100644 --- a/app/scenes/Settings/ImportExport.js +++ b/app/scenes/Settings/ImportExport.js @@ -128,8 +128,8 @@ function ImportExport() { {isImported && ( - Your file has been uploaded and the import is being processed, you - can safely leave this page. + Your file has been uploaded and the import is currently being + processed, you can safely leave this page while it completes. )} @@ -167,7 +167,7 @@ function ImportExport() { disabled={isImporting} primary > - {isImporting ? `${t("Importing")}…` : t("Confirm & Import")} + {isImporting ? `${t("Uploading")}…` : t("Confirm & Import")} ) : ( diff --git a/server/services/importer.js b/server/services/importer.js index 3d4f96053..133e1b941 100644 --- a/server/services/importer.js +++ b/server/services/importer.js @@ -32,6 +32,8 @@ export default class Importer { ip: event.ip, }); + await attachment.destroy(); + return; } default: