From a3ce81d66d3dc65efeaa9b3377869470793fbe84 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Wed, 8 May 2024 15:23:52 -0300 Subject: [PATCH 1/9] Zone list --- src/pages/Zone/Card/ZoneSummary.vue | 22 ++++--- src/pages/Zone/ZoneList.vue | 86 +++++++++++++------------- src/pages/Zone/locale/en.yml | 2 + src/pages/Zone/locale/es.yml | 2 + src/router/modules/zone.js | 96 ++++++++++++++--------------- 5 files changed, 106 insertions(+), 102 deletions(-) diff --git a/src/pages/Zone/Card/ZoneSummary.vue b/src/pages/Zone/Card/ZoneSummary.vue index 00df03cb0..90241c9a3 100644 --- a/src/pages/Zone/Card/ZoneSummary.vue +++ b/src/pages/Zone/Card/ZoneSummary.vue @@ -28,19 +28,25 @@ onMounted(async () => { }); const filter = computed(() => { - return { where: { id: entityId.value } }; + const params = { + filter: { + include: { + relation: 'agencyMode', + fields: ['name'], + }, + where: { + id: entityId.value, + }, + }, + }; + return params; });