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

type="primary" type="primary"
onClick={handleSend} onClick={handleSend}
disabled={isAnnotationFull || !currentCSV} disabled={isAnnotationFull || !currentCSV}
loading={importStatus === ProcessStatus.PROCESSING}
loading={importStatus === ProcessStatus.PROCESSING || importStatus === ProcessStatus.WAITING}
> >
{t('appAnnotation.batchModal.run')} {t('appAnnotation.batchModal.run')}
</Button> </Button>

Loading…
Cancel
Save