diff --git a/src/views/pages/KsVideos/KsNewVideoForm.vue b/src/views/pages/KsVideos/KsNewVideoForm.vue index bcd4659..71caf58 100644 --- a/src/views/pages/KsVideos/KsNewVideoForm.vue +++ b/src/views/pages/KsVideos/KsNewVideoForm.vue @@ -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 })) diff --git a/src/views/pages/ksDocuments/KsDocuments.vue b/src/views/pages/ksDocuments/KsDocuments.vue index 4bd039b..c92ca44 100644 --- a/src/views/pages/ksDocuments/KsDocuments.vue +++ b/src/views/pages/ksDocuments/KsDocuments.vue @@ -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