diff --git a/front/src/BookCard.vue b/front/src/BookCard.vue index d5243b1..f527b17 100644 --- a/front/src/BookCard.vue +++ b/front/src/BookCard.vue @@ -4,7 +4,8 @@ title: String, author: String, imagePath: String, - rating: Number + rating: Number, + read: Boolean }); const imagePathOrDefault = (props.imagePath == "" || typeof props.imagePath === 'undefined') ? "defaultbook.png" : props.imagePath; @@ -24,6 +25,13 @@ const imagePathOrDefault = (props.imagePath == "" || typeof props.imagePath ===
{{rating}}/10
+ diff --git a/front/src/BookListElement.vue b/front/src/BookListElement.vue index f24581f..987d37f 100644 --- a/front/src/BookListElement.vue +++ b/front/src/BookListElement.vue @@ -1,6 +1,6 @@