Aggiornato i nomi delle opzioni video e aggiunto il tipo 'Estimation' nel mapping dei documenti
This commit is contained in:
@@ -201,11 +201,12 @@ const groupDocType = ref('');
|
||||
const uploadPercentage = ref(0);
|
||||
|
||||
const videoTypeOptions = ref([
|
||||
{ name: 'Functional video', value: 'functional_video' },
|
||||
{ name: 'Code Instruction video', value: 'code_instruction_video' },
|
||||
{ name: 'Specification video', value: 'specification_video' },
|
||||
{ name: 'Functional', value: 'functional_video' },
|
||||
{ name: 'Code Istruction', value: 'code_istruction_video' },
|
||||
{ name: 'Estimation ', value: 'estimation_video' },
|
||||
{ name: 'Other', value: 'other_video' }
|
||||
]);
|
||||
|
||||
const availableAppOptions = ref([
|
||||
{ name: 'Cross', value: '' },
|
||||
...userPrefStore.availableApp.map(app => ({ name: app.internal_name, value: app.internal_name }))
|
||||
|
||||
@@ -439,12 +439,12 @@ const mapDocType = (type) => {
|
||||
const mapping = {
|
||||
'functional': 'Functional',
|
||||
'code_instruction': 'Code Instruction',
|
||||
'specification': 'Specification',
|
||||
'other': 'Other'
|
||||
'estimation': 'Estimation'
|
||||
};
|
||||
return mapping[type] || type;
|
||||
};
|
||||
|
||||
|
||||
// Function to format date string
|
||||
function formatDate(dateString) {
|
||||
// Parse the date string using moment
|
||||
|
||||
Reference in New Issue
Block a user