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 #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>
<template #body="{ data }">
@@ -96,8 +96,7 @@
/>
<Button type="button" icon="pi pi-trash" rounded @click="showConfirmDialog(slotProps.data.id)"
v-tooltip="'Delete the ingested Record'" :disabled="slotProps.data.ingestionStatus === 'NEW'"
:class="{ 'p-button-danger': slotProps.data.ingestionStatus === 'NEW' }" />
v-tooltip="'Delete the Records'" />
</div>
<Dialog header="Confirm Deletion" :visible="confirmDialogVisible" modal @hide="resetConfirmDialog"

View File

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