mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 03:16:51 +08:00
fix: the batch annotaion btn should also be loading when progress status is waiting (#2974)
This commit is contained in:
@@ -113,7 +113,7 @@ const BatchModal: FC<IBatchModalProps> = ({
|
|||||||
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>
|
||||||
|
|||||||
Reference in New Issue
Block a user