From 1b428e557fe36d8e1102988ad16ff638a6fd3235 Mon Sep 17 00:00:00 2001 From: konrad Date: Tue, 21 Nov 2017 11:02:23 +0100 Subject: [PATCH] Fixed an error where the book wasnt inserted when price or qty had a wrong value --- frontend/src/components/BooksAddEdit.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/components/BooksAddEdit.vue b/frontend/src/components/BooksAddEdit.vue index fb88d9c..28ca35b 100644 --- a/frontend/src/components/BooksAddEdit.vue +++ b/frontend/src/components/BooksAddEdit.vue @@ -17,7 +17,7 @@ {{ success }} -
+
@@ -36,11 +36,11 @@
- +
- +
@@ -100,7 +100,7 @@ - Submit +
@@ -121,7 +121,7 @@ Title: '', Isbn: '', Year: (new Date()).getFullYear(), - Price: null, + Price: 0, Status: 0, Quantity: 0, PublisherFull: {