updated delete function for delete item

This commit is contained in:
franknstayn
2021-07-17 15:32:49 +08:00
parent 18e11ac3d0
commit 20b4e06ee7
2 changed files with 12 additions and 2 deletions

View File

@@ -1687,7 +1687,7 @@
alert(response.message);
window.location = "{{ url('user/store-items') }}";
}else{
alert("Something went wrong. Please try again!");
alert(response.message);
location.reload();
}
}