Deprecate mixed media albums

This commit is contained in:
Daniel Supernault 2019-12-14 21:29:00 -07:00
parent aa1f74efbc
commit 1b20ebd46d
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
3 changed files with 11 additions and 8 deletions

View file

@ -744,7 +744,8 @@ export default {
let data = res.data;
window.location.href = data;
}).catch(err => {
swal('Oops, something went wrong!', 'An unexpected error occurred.', 'error');
let msg = err.response.data.message ? err.response.data.message : 'An unexpected error occured.'
swal('Oops, something went wrong!', msg, 'error');
});
return;
break;