fix: pre-progress bar fixes
This commit is contained in:
parent
377976b8b2
commit
64b1a31a8f
|
@ -350,10 +350,11 @@ const UploadFileItem = ({
|
||||||
</div>
|
</div>
|
||||||
) : null}
|
) : null}
|
||||||
|
|
||||||
{file.progress?.preprocess || true ? (
|
{file.progress?.preprocess ? (
|
||||||
<div>
|
<div>
|
||||||
<p className="text-sm text-primary-2 ml-2">{file.progress?.preprocess?.value ?? "Processing..."}</p>
|
<p className="text-sm text-primary-2 ml-2">{file.progress?.preprocess?.message ?? "Processing..."}</p>
|
||||||
<Progress max={100} value={file.progress?.preprocess?.value ?? 0} className="mt-2" />
|
<Progress max={100} value={
|
||||||
|
file.progress?.preprocess?.value ?? 0} className="mt-2" />
|
||||||
</div>
|
</div>
|
||||||
) : null}
|
) : null}
|
||||||
{file.progress?.uploadStarted && !file.progress.uploadComplete ? (
|
{file.progress?.uploadStarted && !file.progress.uploadComplete ? (
|
||||||
|
|
Loading…
Reference in New Issue