From 565bb4cd6b8c5c1a91e11b9222c0f4949d74b87c Mon Sep 17 00:00:00 2001 From: advplyr Date: Sun, 18 Sep 2022 17:02:19 -0500 Subject: [PATCH] Update:Add author name to author quickmatch toast #992 --- client/components/cards/AuthorCard.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/components/cards/AuthorCard.vue b/client/components/cards/AuthorCard.vue index c8e68a29..46db9e0e 100644 --- a/client/components/cards/AuthorCard.vue +++ b/client/components/cards/AuthorCard.vue @@ -93,12 +93,12 @@ export default { return null }) if (!response) { - this.$toast.error('Author not found') + this.$toast.error(`Author ${this.name} not found`) } else if (response.updated) { - if (response.author.imagePath) this.$toast.success('Author was updated') - else this.$toast.success('Author was updated (no image found)') + if (response.author.imagePath) this.$toast.success(`Author ${response.author.name} was updated`) + else this.$toast.success(`Author ${response.author.name} was updated (no image found)`) } else { - this.$toast.info('No updates were made for Author') + this.$toast.info(`No updates were made for Author ${response.author.name}`) } this.searching = false },