Browse Source

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

tags/0.5.11
Ricky 1 year ago
parent
commit
afd77c4745
No account linked to committer's email address

+ 1
- 1
web/app/components/app/annotation/batch-add-annotation-modal/index.tsx View File

@@ -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