fix: the batch annotaion btn should also be loading when progress status is waiting (#2974)

pull/2957/head^2
Ricky 2 years ago committed by GitHub
parent d70bd4aaa4
commit afd77c4745
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save