#63 - Suppression d'un album
This commit is contained in:
parent
d03394bee7
commit
748edc9cc4
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue