Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

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

Rickyafd77c4745b6
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 49934b6f989..aae54bf4970 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<IBatchModalProps> = ({
type="primary"
onClick={handleSend}
disabled={isAnnotationFull || !currentCSV}
- loading={importStatus === ProcessStatus.PROCESSING}
+ loading={importStatus === ProcessStatus.PROCESSING || importStatus === ProcessStatus.WAITING}
>
{t('appAnnotation.batchModal.run')}
</Button>