File upload is done at 100
This commit is contained in:
@@ -33,7 +33,7 @@ const ModalProgressBar = ({ onCancel, uploading, progress, status }) => {
|
||||
{status && <p>{status}</p>}
|
||||
<LinearProgress variant="determinate" value={progress} />
|
||||
<Button onClick={onClickCancel}>
|
||||
{ progress < 101 ? "Cancel" : "Done" }
|
||||
{ progress < 100 ? "Cancel" : "Done" }
|
||||
</Button>
|
||||
</div>
|
||||
</Modal>
|
||||
|
||||
Reference in New Issue
Block a user