fix: the batch annotaion btn should also be loading when progress status is waiting (#2974)
This commit is contained in:
parent
d70bd4aaa4
commit
afd77c4745
@ -113,7 +113,7 @@ const BatchModal: FC<IBatchModalProps> = ({
|
||||
type="primary"
|
||||
onClick={handleSend}
|
||||
disabled={isAnnotationFull || !currentCSV}
|
||||
loading={importStatus === ProcessStatus.PROCESSING}
|
||||
loading={importStatus === ProcessStatus.PROCESSING || importStatus === ProcessStatus.WAITING}
|
||||
>
|
||||
{t('appAnnotation.batchModal.run')}
|
||||
</Button>
|
||||
|
Loading…
Reference in New Issue
Block a user