Bladeren bron

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

Ricky 1 jaar geleden
bovenliggende
commit
afd77c4745
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      web/app/components/app/annotation/batch-add-annotation-modal/index.tsx

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

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