mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-15 03:51:30 +03:00
Reduce max size to 2000 MB
This commit is contained in:
parent
57590b9a8a
commit
6f922769a3
1 changed files with 1 additions and 1 deletions
|
@ -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") };
|
||||||
|
|
Loading…
Reference in a new issue