Merged PR 193: Update docType picklist
This commit is contained in:
@@ -202,8 +202,8 @@ const uploadPercentage = ref(0);
|
||||
|
||||
const videoTypeOptions = ref([
|
||||
{ name: 'Functional', value: 'functional_video' },
|
||||
{ name: 'Code Istruction', value: 'code_istruction_video' },
|
||||
{ name: 'Estimation ', value: 'estimation_video' },
|
||||
{ name: 'Code Instruction', value: 'code_instruction_video' },
|
||||
{ name: 'Estimation', value: 'estimation_video' },
|
||||
{ name: 'Other', value: 'other_video' }
|
||||
]);
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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: '' },
|
||||
|
||||
Reference in New Issue
Block a user