Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit eeccde4

Browse files
author
Md. Obydullah
authored
Update AllBooks.vue
1 parent 4ff9c30 commit eeccde4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

‎resources/js/components/AllBooks.vue‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,6 @@
5252
this.axios
5353
.delete(`https://laravel.dev/api/book/delete/${id}`)
5454
.then(response => {
55-
// window.location.reload();
56-
// this.books.splice(this.books.indexOf(id), 1);
57-
// console.log(response.data)
58-
5955
let i = this.books.map(item => item.id).indexOf(id); // find index of your object
6056
this.books.splice(i, 1)
6157
});

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /