From 4f5f2d32bed913fdc85fa87df18d7143185399ec Mon Sep 17 00:00:00 2001 From: jmt-gh Date: Wed, 15 Jun 2022 20:23:56 -0700 Subject: [PATCH] Properly support multiple narrators when Matching This commit adds proper support for multiple narrators when matching. We were accidentally missing a split in the same way we handle it for genres and tags --- client/components/modals/item/tabs/Match.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/components/modals/item/tabs/Match.vue b/client/components/modals/item/tabs/Match.vue index 8f2aebec..70a15f2b 100644 --- a/client/components/modals/item/tabs/Match.vue +++ b/client/components/modals/item/tabs/Match.vue @@ -428,7 +428,7 @@ export default { ) updatePayload.metadata.authors = authorPayload } else if (key === 'narrator') { - updatePayload.metadata.narrators = [this.selectedMatch[key]] + updatePayload.metadata.narrators = this.selectedMatch[key].split(',').map((v) => v.trim()) } else if (key === 'genres') { updatePayload.metadata.genres = this.selectedMatch[key].split(',').map((v) => v.trim()) } else if (key === 'tags') {