Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions changelog_entry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- bump: patch
changes:
changed:
- Increase limit to csv size.
10 changes: 5 additions & 5 deletions microcalibration-dashboard/src/components/FileUpload.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -374,9 +374,9 @@ export default function FileUpload({
return;
}

if (file.size > 50 * 1024 * 1024) {
// 50 MB limit
setError('File is too large (over 50 MB). Please use a smaller CSV file.');
if (file.size > 500 * 1024 * 1024) {
// 500 MB limit
setError('File is too large (over 500 MB). Please use a smaller CSV file.');
return;
}

Expand All @@ -402,8 +402,8 @@ export default function FileUpload({
return;
}

if (file.size > 50 * 1024 * 1024) {
setError('File is too large (over 50 MB). Please select a smaller CSV file.');
if (file.size > 500 * 1024 * 1024) {
setError('File is too large (over 500 MB). Please select a smaller CSV file.');
return;
}

Expand Down