delete new or error records UI done

This commit is contained in:
sumedh
2024-08-14 20:07:32 +05:30
parent 276e4484ae
commit d93e0546f3
2 changed files with 6 additions and 7 deletions

View File

@@ -38,9 +38,9 @@
<template #empty>No Records found</template> <template #empty>No Records found</template>
<template #loading>Loading Data... </template> <template #loading>Loading Data... </template>
<Column field="id" header="KSGitInfoID" sortable /> <!--Column field="id" header="KSGitInfoID" sortable /-->
<Column field="ksGitIngestionInfo.id" header="ksGitIngestionInfo" sortable> </Column> <!--Column field="ksGitIngestionInfo.id" header="ksGitIngestionInfo" sortable> </Column-->
<Column field="repoName" header="Repo Name" sortable> <Column field="repoName" header="Repo Name" sortable>
<template #body="{ data }"> <template #body="{ data }">
@@ -96,8 +96,7 @@
/> />
<Button type="button" icon="pi pi-trash" rounded @click="showConfirmDialog(slotProps.data.id)" <Button type="button" icon="pi pi-trash" rounded @click="showConfirmDialog(slotProps.data.id)"
v-tooltip="'Delete the ingested Record'" :disabled="slotProps.data.ingestionStatus === 'NEW'" v-tooltip="'Delete the Records'" />
:class="{ 'p-button-danger': slotProps.data.ingestionStatus === 'NEW' }" />
</div> </div>
<Dialog header="Confirm Deletion" :visible="confirmDialogVisible" modal @hide="resetConfirmDialog" <Dialog header="Confirm Deletion" :visible="confirmDialogVisible" modal @hide="resetConfirmDialog"

View File

@@ -67,10 +67,10 @@ const formData = ref({
branch: '', branch: '',
commitId: '', commitId: '',
repoPath: '', repoPath: '',
defaultChunkSize: 6000, defaultChunkSize: 1988,
minChunkSize: 200, minChunkSize: 200,
maxNumberOfChunks: 1000, maxNumberOfChunks: 1988,
minChunkSizeToEmbed: 100 minChunkSizeToEmbed: 20
}); });
const submitForm = async () => { const submitForm = async () => {