From 04fb307b7ae96a74a4bc18c2fc688082d436e606 Mon Sep 17 00:00:00 2001 From: Eloi Zalczer Date: Wed, 19 Jun 2024 14:07:47 +0200 Subject: [PATCH] Fixed issue causing reviews from other issues not to be displayed --- src/components/RestaurantsTable.vue | 8 +++++++- src/components/ReviewsList.vue | 23 +++++++++++++++++++---- 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/src/components/RestaurantsTable.vue b/src/components/RestaurantsTable.vue index 662a02f..3cb9fc7 100644 --- a/src/components/RestaurantsTable.vue +++ b/src/components/RestaurantsTable.vue @@ -16,7 +16,13 @@ const props = defineProps({ const columns = [ { data: "name", title: "Name" }, - { data: "tags", title: "Tags" }, + { + data: "tags", + title: "Tags", + render: { + _: "[, ]", + }, + }, { data: "average_rating", title: "" }, ]; diff --git a/src/components/ReviewsList.vue b/src/components/ReviewsList.vue index 2b39490..f55544f 100644 --- a/src/components/ReviewsList.vue +++ b/src/components/ReviewsList.vue @@ -1,5 +1,5 @@