diff --git a/l2-frontend/src/components/UploadFile.vue b/l2-frontend/src/components/UploadFile.vue index 757248b989..3b2bc491ab 100644 --- a/l2-frontend/src/components/UploadFile.vue +++ b/l2-frontend/src/components/UploadFile.vue @@ -1,69 +1,85 @@ - - - + + + + Такие расширения файлов не поддерживаются + + + - Такие расширения файлов не поддерживаются - - - - - + + Такие структуры файла не поддерживаются + + + - Такие структуры файла не поддерживаются - - - - + + - - - - Загрузить файл - - + + Загрузить файл + + + + + + + Загрузка файла + + + + diff --git a/l2-frontend/src/components/types-and-forms-file.ts b/l2-frontend/src/components/types-and-forms-file.ts index 6f20071a84..a2aeb31e80 100644 --- a/l2-frontend/src/components/types-and-forms-file.ts +++ b/l2-frontend/src/components/types-and-forms-file.ts @@ -17,7 +17,7 @@ export default function typesAndForms() { let result: typesFile[] = []; if (types && types.length > 0) { for (const type of types) { - if (fileTypes.value[type]) { + if (fileTypes.value[type.toUpperCase()]) { result.push(fileTypes.value[type]); } }