Merged PR 193: Update docType picklist

This commit is contained in:
2025-07-07 15:28:11 +00:00
3 changed files with 4 additions and 6 deletions

View File

@@ -202,7 +202,7 @@ const uploadPercentage = ref(0);
const videoTypeOptions = ref([
{ name: 'Functional', value: 'functional_video' },
{ name: 'Code Istruction', value: 'code_istruction_video' },
{ name: 'Code Instruction', value: 'code_instruction_video' },
{ name: 'Estimation', value: 'estimation_video' },
{ name: 'Other', value: 'other_video' }
]);

View File

@@ -314,7 +314,7 @@ const confirmDeleteFromVectorStore = (id) => {
console.log("Updated element", element)
}
});
toast.add({ severity: 'success', summary: 'Success', detail: 'Deletion Completed', life: 3000 });
toast.add({ severity: 'info', summary: 'Info', detail: 'Deletion started', life: 3000 });
})
.catch(error => {
console.error('Error deleting records: ', error)
@@ -444,7 +444,6 @@ const mapDocType = (type) => {
return mapping[type] || type;
};
// Function to format date string
function formatDate(dateString) {
// Parse the date string using moment

View File

@@ -222,8 +222,7 @@ const uploadPercentage = ref(0);
const documentTypeOptions = ref([
{ name: 'Functional', value: 'functional' },
{ name: 'Code Instruction', value: 'code_instruction' },
{ name: 'Specification', value: 'specification' },
{ name: 'Other', value: 'other' }
{ name: 'Estimation', value: 'estimation' }
]);
const availableAppOptions = ref([
{ name: 'Cross', value: '' },