diff --git a/frontend/src/components/BooksAddEdit.vue b/frontend/src/components/BooksAddEdit.vue index 05a69b6..1decd2a 100644 --- a/frontend/src/components/BooksAddEdit.vue +++ b/frontend/src/components/BooksAddEdit.vue @@ -48,7 +48,7 @@
- +
@@ -164,7 +164,6 @@ if (this.book.authors === null) { this.book.authors = [] } - console.log(this.book.authors) }) .catch(e => { this.errorNotification(e) @@ -248,15 +247,12 @@ // Add all newly created authors to it let as = this.newAuthors - console.log(this.book, this.newAuthors) - for (const i in as) { this.book.authors.push({ id: 0, name: as[i] }) } - console.log(this.book.authors, this.newAuthors) // Beautify all Authors aka split the names in forename and lastname for (const i in this.book.authors) {