Reduce max size to 2000 MB
This commit is contained in:
@@ -131,7 +131,7 @@ const ExportDialog: React.FC<IProps> = ({ room, onFinished }) => {
|
|||||||
}: Pick<IFieldState, "value">): Promise<IValidationResult> => {
|
}: Pick<IFieldState, "value">): Promise<IValidationResult> => {
|
||||||
const parsedSize = parseFloat(value);
|
const parsedSize = parseFloat(value);
|
||||||
const min = 1;
|
const min = 1;
|
||||||
const max = 4000;
|
const max = 2000;
|
||||||
|
|
||||||
if (isNaN(parsedSize)) {
|
if (isNaN(parsedSize)) {
|
||||||
return { valid: false, feedback: _t("Size must be a number") };
|
return { valid: false, feedback: _t("Size must be a number") };
|
||||||
|
|||||||
Reference in New Issue
Block a user