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 @@

{{ name }}

+

{{ $getString('LabelXBooks', [numBooks]) }}

@@ -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 @@ + + + + + diff --git a/client/components/cards/NarratorSearchCard.vue b/client/components/cards/NarratorSearchCard.vue index d5d1dbbd..00909c75 100644 --- a/client/components/cards/NarratorSearchCard.vue +++ b/client/components/cards/NarratorSearchCard.vue @@ -5,6 +5,7 @@

{{ narrator }}

+

{{ $getString('LabelXBooks', [numBooks]) }}

@@ -12,7 +13,8 @@