Provide an informative error message when account size limit is reached

This commit is contained in:
mbliznikova 2024-01-09 04:49:01 +00:00
parent d25209f74a
commit 4e567e3411

View file

@ -1204,6 +1204,13 @@ export default {
}, 300); }, 300);
}).catch(function(e) { }).catch(function(e) {
switch(e.response.status) { switch(e.response.status) {
case 403:
self.uploading = false;
io.value = null;
swal('Account size limit reached', 'Contact your admin for assistance.', 'error');
self.page = 2;
break;
case 413: case 413:
self.uploading = false; self.uploading = false;
io.value = null; io.value = null;