From 74f335b22e3e0c7a0336b3cac017978aaa260077 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Mon, 19 Aug 2024 06:51:52 +0000 Subject: [PATCH 1/2] fix: #6336 ClaimListStates --- src/pages/Claim/ClaimList.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pages/Claim/ClaimList.vue b/src/pages/Claim/ClaimList.vue index d1a08b9c6..b03dfb226 100644 --- a/src/pages/Claim/ClaimList.vue +++ b/src/pages/Claim/ClaimList.vue @@ -78,6 +78,9 @@ const columns = computed(() => [ { align: 'left', label: t('claim.state'), + format: ({ stateCode }) => + claimFilterRef.value?.states.find(({code}) => code === stateCode) + ?.description, name: 'stateCode', chip: { condition: () => true, From c19585fb1b5ef85ffeeafbdbb73587ab1e6f1acd Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Mon, 19 Aug 2024 11:36:12 +0200 Subject: [PATCH 2/2] fix: quasar build warnings --- src/components/ui/VnSms.vue | 2 +- src/pages/Account/AccountAcls.vue | 2 - .../Account/Card/AccountDescriptorMenu.vue | 50 +--------------- src/pages/Account/Role/AccountRoles.vue | 2 - .../Customer/Card/CustomerConsumption.vue | 2 - src/pages/Item/Card/ItemBasicData.vue | 1 - src/pages/Monitor/SalesTicketsTable.vue | 57 +------------------ src/pages/Ticket/Card/TicketSale.vue | 1 - src/pages/Zone/Card/ZoneCard.vue | 5 -- 9 files changed, 6 insertions(+), 116 deletions(-) diff --git a/src/components/ui/VnSms.vue b/src/components/ui/VnSms.vue index 81058a6cb..bf6e0695e 100644 --- a/src/components/ui/VnSms.vue +++ b/src/components/ui/VnSms.vue @@ -1,5 +1,5 @@ - - { - diff --git a/src/pages/Account/Role/AccountRoles.vue b/src/pages/Account/Role/AccountRoles.vue index 2f80606b4..8f3372a6d 100644 --- a/src/pages/Account/Role/AccountRoles.vue +++ b/src/pages/Account/Role/AccountRoles.vue @@ -4,11 +4,9 @@ import { computed, ref } from 'vue'; import VnTable from 'components/VnTable/VnTable.vue'; import { useRoute } from 'vue-router'; import VnSearchbar from 'components/ui/VnSearchbar.vue'; -import { useStateStore } from 'stores/useStateStore'; import { useSummaryDialog } from 'src/composables/useSummaryDialog'; import RoleSummary from './Card/RoleSummary.vue'; const route = useRoute(); -const stateStore = useStateStore(); const { t } = useI18n(); const $props = defineProps({ id: { diff --git a/src/pages/Customer/Card/CustomerConsumption.vue b/src/pages/Customer/Card/CustomerConsumption.vue index 98a3115da..4d3da1116 100644 --- a/src/pages/Customer/Card/CustomerConsumption.vue +++ b/src/pages/Customer/Card/CustomerConsumption.vue @@ -1,8 +1,6 @@