diff --git a/interface/src/app/settings/UploadDownload.tsx b/interface/src/app/settings/UploadDownload.tsx
index d9658980a..01370b61f 100644
--- a/interface/src/app/settings/UploadDownload.tsx
+++ b/interface/src/app/settings/UploadDownload.tsx
@@ -197,18 +197,6 @@ const UploadDownload = () => {
)}
-
- {LL.UPLOAD()}
-
-
-
- {LL.UPLOAD_TEXT()}
-
-
- {LL.RESTART_TEXT(1)}.
-
-
-
diff --git a/interface/src/components/upload/SingleUpload.tsx b/interface/src/components/upload/SingleUpload.tsx
index 258ce3a9d..0bede54f4 100644
--- a/interface/src/components/upload/SingleUpload.tsx
+++ b/interface/src/components/upload/SingleUpload.tsx
@@ -36,7 +36,6 @@ const SingleUpload = () => {
setFile(undefined);
} else {
setRestartNeeded(true);
- // setRestarting(true);
}
});
@@ -68,9 +67,15 @@ const SingleUpload = () => {
return (
<>
-
+
+ {LL.UPLOAD()}
+
- {isUploading && (
+
+ {LL.UPLOAD_TEXT()}
+
+
+ {isUploading || restartNeeded ? (
<>
{
/>
- }
- variant="outlined"
- color="secondary"
- onClick={cancelUpload}
- >
- {LL.CANCEL()}
-
+ {!restartNeeded && (
+ }
+ variant="outlined"
+ color="secondary"
+ onClick={cancelUpload}
+ >
+ {LL.CANCEL()}
+
+ )}
>
+ ) : (
+
)}
{md5 && (
@@ -104,7 +113,7 @@ const SingleUpload = () => {
)}
{restartNeeded && (
-
+
}
variant="contained"