Reduce max size to 2000 MB

This commit is contained in:
Jaiwanth 2021-07-27 11:45:10 +05:30
parent 57590b9a8a
commit 6f922769a3

View file

@ -131,7 +131,7 @@ const ExportDialog: React.FC<IProps> = ({ room, onFinished }) => {
}: Pick<IFieldState, "value">): Promise<IValidationResult> => {
const parsedSize = parseFloat(value);
const min = 1;
const max = 4000;
const max = 2000;
if (isNaN(parsedSize)) {
return { valid: false, feedback: _t("Size must be a number") };