Skip to content

Commit

Permalink
fixed: #183 - isbn empty handled
Browse files Browse the repository at this point in the history
  • Loading branch information
rkshaon committed Nov 30, 2024
1 parent 47d04a5 commit b3bf442
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/src/pages/dashboard/BookListPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,10 @@ export default {
formData.append('published_year', updatedBook.published_year || '')
formData.append('publisher', updatedBook.publisher || '')
formData.append('edition', updatedBook.edition || '')
formData.append('isbn', updatedBook.isbn || '')
// formData.append('isbn', updatedBook.isbn || '')
if (updatedBook.isbn) {
formData.append('isbn', updatedBook.isbn)
}
formData.append('language', updatedBook.language || '')
updatedBook.authors.forEach((authorId) => {
Expand Down

0 comments on commit b3bf442

Please sign in to comment.