Skip to content
Snippets Groups Projects
Unverified Commit ed6cdc79 authored by Ryan Laurie's avatar Ryan Laurie Committed by GitHub
Browse files

Add mb to upload limit tooltip (#32188)

* add mb to upload limit tooltip

* bigger MBs
parent aadcdcac
Branches
Tags
No related merge requests found
......@@ -93,7 +93,7 @@ const UploadTooltip = ({
<TooltipTitle>{t`Upload data to ${collection.name}`}</TooltipTitle>
<TooltipSubtitle>{t`${UPLOAD_FILE_TYPES.join(
",",
)} (${MAX_UPLOAD_STRING} max)`}</TooltipSubtitle>
)} (${MAX_UPLOAD_STRING} MB max)`}</TooltipSubtitle>
</TooltipContainer>
}
placement="bottom"
......
......@@ -65,7 +65,7 @@ export const uploadFile = createThunkAction(
dispatch(
uploadError({
id,
message: t`You cannot upload files larger than ${MAX_UPLOAD_STRING}mb`,
message: t`You cannot upload files larger than ${MAX_UPLOAD_STRING} MB`,
}),
);
clear();
......
......@@ -119,7 +119,7 @@ describe("csv uploads", () => {
type: UPLOAD_FILE_TO_COLLECTION_ERROR,
payload: {
id: now,
message: `You cannot upload files larger than ${MAX_UPLOAD_STRING}mb`,
message: `You cannot upload files larger than ${MAX_UPLOAD_STRING} MB`,
},
});
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment