diff --git a/client/components/cards/AuthorSearchCard.vue b/client/components/cards/AuthorSearchCard.vue index 76e79543..f3693a5a 100644 --- a/client/components/cards/AuthorSearchCard.vue +++ b/client/components/cards/AuthorSearchCard.vue @@ -5,6 +5,7 @@
@@ -23,6 +24,9 @@ export default { computed: { name() { return this.author.name + }, + numBooks() { + return this.author.numBooks } }, methods: {}, @@ -33,9 +37,9 @@ export default { \ No newline at end of file + diff --git a/client/components/cards/GenreSearchCard.vue b/client/components/cards/GenreSearchCard.vue new file mode 100644 index 00000000..73e8bbac --- /dev/null +++ b/client/components/cards/GenreSearchCard.vue @@ -0,0 +1,36 @@ + +{{ genre }}
+{{ $getString('LabelXItems', [numItems]) }}
+{{ narrator }}
+{{ $getString('LabelXBooks', [numBooks]) }}