Retry hint

This commit is contained in:
Manav Rathi
2024-06-25 20:07:08 +05:30
parent f55c33a4d6
commit 362179ba8d

View File

@@ -66,14 +66,12 @@ export function UploadProgressDialog() {
"THUMBNAIL_GENERATION_FAILED_INFO",
)}
/>
{uploadStage === UPLOAD_STAGES.FINISH &&
hasUnUploadedFiles && (
<NotUploadSectionHeader>
{t("FILE_NOT_UPLOADED_LIST")}
</NotUploadSectionHeader>
)}
<ResultSection
uploadResult={UPLOAD_RESULT.BLOCKED}
sectionTitle={t("BLOCKED_UPLOADS")}
@@ -94,6 +92,12 @@ export function UploadProgressDialog() {
<ResultSection
uploadResult={UPLOAD_RESULT.FAILED}
sectionTitle={t("FAILED_UPLOADS")}
sectionInfo={
uploadStage === UPLOAD_STAGES.FINISH
? undefined
: // TODO(MR): Move these to localized strings when finalized.
"There will be an option to retry these when the upload finishes."
}
/>
<ResultSection
uploadResult={UPLOAD_RESULT.ALREADY_UPLOADED}