Skip to content

Commit 4c95e90

Browse files
authored
fix(frontend): remove file length limit (#641)
1 parent 5a314a7 commit 4c95e90

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

apps/frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,4 @@
112112
"vite-plugin-svgr": "^2.4.0",
113113
"vite-plugin-ts-mono-alias": "^1.1.8"
114114
}
115-
}
115+
}

apps/frontend/src/pages/tasks.[id].edit/partials/InputData/utils.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,6 @@ export const isPreAnnotationFile = (filename: string) => {
4242
export const isCorrectFiles = (files: File[], type: MediaType) => {
4343
let result = true;
4444

45-
if (files.length > 100) {
46-
commonController.notificationErrorMessage({ message: i18n.t('fileLimitOneTimeDescription') }, 3);
47-
return;
48-
}
49-
5045
for (let i = 0; i < files.length; i++) {
5146
const fileUnit = files[i];
5247

0 commit comments

Comments
 (0)