Tell the user their download failed

pull/171/head
oblivierblop 3 years ago
parent a515f5adbc
commit 35b4aebaa8

@ -252,6 +252,13 @@
position: "top-right",
duration: 5000,
});
} else if (error.response && error.response.status) {
Vue.toasted.show("Download failed - something went wrong", {
theme: "bubble",
type: "error",
position: "top-right",
duration: 5000,
});
}
})
.then(function () {});

Loading…
Cancel
Save