Version 1.4.3 #83
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