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