Aggiorna la logica di disabilitazione del pulsante di ingestione per includere nuovi stati 'INGESTING' e 'INGESTION_QUEUE'

This commit is contained in:
andrea.terzani
2025-04-14 13:02:03 +02:00
parent 2ab0a90c31
commit 4aa7885bfe

View File

@@ -91,7 +91,7 @@
<Button type="button" icon="pi pi-play" rounded <Button type="button" icon="pi pi-play" rounded
@click="startIndividualngestion(slotProps.data.id)" @click="startIndividualngestion(slotProps.data.id)"
v-tooltip.left="'Start Ingestion of document'" v-tooltip.left="'Start Ingestion of document'"
:disabled="slotProps.data.ingestionStatus === 'INGESTED' || slotProps.data.ingestionStatus == 'IN PROGRESS'" :disabled="slotProps.data.ingestionStatus === 'INGESTED' || slotProps.data.ingestionStatus == 'IN PROGRESS' || slotProps.data.ingestionStatus == 'INGESTING' || slotProps.data.ingestionStatus == 'INGESTION_QUEUE'"
:class="{ 'p-button': slotProps.data.ingestionStatus === 'INGESTED' }"></Button> :class="{ 'p-button': slotProps.data.ingestionStatus === 'INGESTED' }"></Button>
<Button type="button" icon="pi pi-trash" rounded <Button type="button" icon="pi pi-trash" rounded
@click="confirmDeleteFromVectorStore(slotProps.data.id)" @click="confirmDeleteFromVectorStore(slotProps.data.id)"