From afd77c4745b6fce1c94970b0f38e866fcf52e375 Mon Sep 17 00:00:00 2001 From: Ricky <5317425+rickythink@users.noreply.github.com> Date: Tue, 26 Mar 2024 11:05:29 +0800 Subject: [PATCH] fix: the batch annotaion btn should also be loading when progress status is waiting (#2974) --- .../app/annotation/batch-add-annotation-modal/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/app/annotation/batch-add-annotation-modal/index.tsx b/web/app/components/app/annotation/batch-add-annotation-modal/index.tsx index 49934b6f98..aae54bf497 100644 --- a/web/app/components/app/annotation/batch-add-annotation-modal/index.tsx +++ b/web/app/components/app/annotation/batch-add-annotation-modal/index.tsx @@ -113,7 +113,7 @@ const BatchModal: FC = ({ type="primary" onClick={handleSend} disabled={isAnnotationFull || !currentCSV} - loading={importStatus === ProcessStatus.PROCESSING} + loading={importStatus === ProcessStatus.PROCESSING || importStatus === ProcessStatus.WAITING} > {t('appAnnotation.batchModal.run')}