#63 - Suppression d'un album

This commit is contained in:
Damien Broqua 2022-10-28 21:55:31 +02:00
parent d03394bee7
commit 748edc9cc4

View file

@ -319,7 +319,7 @@
deleteItem() {
axios.delete(`/api/v1/albums/${this.item._id}`)
.then( () => {
return locatiom.href = "/ma-collection";
window.location.href = "/ma-collection";
})
.catch((err) => {
showToastr(err.response?.data?.message || "Impossible de supprimer cet album");