1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-09 10:22:51 +03:00

Fixes an issue with handling of large image files.

Signed-off-by: Abijeet <abijeetpatro@gmail.com>
This commit is contained in:
Abijeet
2018-03-19 02:09:01 +05:30
parent bf8dddd99c
commit 2cfcbe0a3c

View File

@@ -42,7 +42,7 @@ function mounted() {
} }
if (xhr.status === 413) setMessage(trans('errors.server_upload_limit')); if (xhr.status === 413) setMessage(trans('errors.server_upload_limit'));
if (errorMessage.file) setMessage(errorMessage.file[0]); else if (errorMessage.file) setMessage(errorMessage.file);
}); });
} }
}); });