Tweak language, remove original attachment once complete

This commit is contained in:
Tom Moor
2021-02-18 23:08:48 -08:00
parent c5f9412ac0
commit fabfa6a491
2 changed files with 5 additions and 3 deletions

View File

@@ -128,8 +128,8 @@ function ImportExport() {
{isImported && (
<Notice>
<Trans>
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.
</Trans>
</Notice>
)}
@@ -167,7 +167,7 @@ function ImportExport() {
disabled={isImporting}
primary
>
{isImporting ? `${t("Importing")}` : t("Confirm & Import")}
{isImporting ? `${t("Uploading")}` : t("Confirm & Import")}
</Button>
</>
) : (

View File

@@ -32,6 +32,8 @@ export default class Importer {
ip: event.ip,
});
await attachment.destroy();
return;
}
default: