Update video doctype
This commit is contained in:
@@ -400,10 +400,10 @@ const getFileIcon = (filename) => {
|
||||
|
||||
const mapDocType = (type) => {
|
||||
const mapping = {
|
||||
'functional': 'Functional',
|
||||
'code_instruction': 'Code Instruction',
|
||||
'specification': 'Specification',
|
||||
'other': 'Other'
|
||||
'functional_video': 'Functional video',
|
||||
'code_instruction_video': 'Code Instruction video',
|
||||
'specification_video': 'Specification video',
|
||||
'other_video': 'Other'
|
||||
};
|
||||
return mapping[type] || type;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user