Merged PR 193: Update docType picklist
This commit is contained in:
@@ -202,7 +202,7 @@ const uploadPercentage = ref(0);
|
|||||||
|
|
||||||
const videoTypeOptions = ref([
|
const videoTypeOptions = ref([
|
||||||
{ name: 'Functional', value: 'functional_video' },
|
{ 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: 'Estimation', value: 'estimation_video' },
|
||||||
{ name: 'Other', value: 'other_video' }
|
{ name: 'Other', value: 'other_video' }
|
||||||
]);
|
]);
|
||||||
|
|||||||
@@ -314,7 +314,7 @@ const confirmDeleteFromVectorStore = (id) => {
|
|||||||
console.log("Updated element", element)
|
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 => {
|
.catch(error => {
|
||||||
console.error('Error deleting records: ', error)
|
console.error('Error deleting records: ', error)
|
||||||
@@ -444,7 +444,6 @@ const mapDocType = (type) => {
|
|||||||
return mapping[type] || type;
|
return mapping[type] || type;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
// Function to format date string
|
// Function to format date string
|
||||||
function formatDate(dateString) {
|
function formatDate(dateString) {
|
||||||
// Parse the date string using moment
|
// Parse the date string using moment
|
||||||
|
|||||||
@@ -222,8 +222,7 @@ const uploadPercentage = ref(0);
|
|||||||
const documentTypeOptions = ref([
|
const documentTypeOptions = ref([
|
||||||
{ name: 'Functional', value: 'functional' },
|
{ name: 'Functional', value: 'functional' },
|
||||||
{ name: 'Code Instruction', value: 'code_instruction' },
|
{ name: 'Code Instruction', value: 'code_instruction' },
|
||||||
{ name: 'Specification', value: 'specification' },
|
{ name: 'Estimation', value: 'estimation' }
|
||||||
{ name: 'Other', value: 'other' }
|
|
||||||
]);
|
]);
|
||||||
const availableAppOptions = ref([
|
const availableAppOptions = ref([
|
||||||
{ name: 'Cross', value: '' },
|
{ name: 'Cross', value: '' },
|
||||||
|
|||||||
Reference in New Issue
Block a user