From 66e119adc3e49a8f8f4a7c7f450514290cbdda8b Mon Sep 17 00:00:00 2001 From: jorgep Date: Tue, 30 Jan 2024 10:30:07 +0100 Subject: [PATCH] fix: refs #6654 btn responsive & replace toolbars --- src/components/ui/CardDescriptor.vue | 2 - src/components/ui/VnSubToolbar.vue | 4 +- src/composables/tMobile.js | 2 +- src/pages/Claim/Card/ClaimCard.vue | 14 ---- src/pages/Claim/Card/ClaimLines.vue | 35 ++++----- src/pages/Route/RouteList.vue | 9 ++- .../Supplier/Card/SupplierConsumption.vue | 73 +++++++++---------- 7 files changed, 58 insertions(+), 81 deletions(-) diff --git a/src/components/ui/CardDescriptor.vue b/src/components/ui/CardDescriptor.vue index 9571c742e..f33b33717 100644 --- a/src/components/ui/CardDescriptor.vue +++ b/src/components/ui/CardDescriptor.vue @@ -49,7 +49,6 @@ onMounted(async () => { () => $props.url, async (newUrl, lastUrl) => { if (newUrl == lastUrl) return; - entity.value = null; await getData(); } ); @@ -62,7 +61,6 @@ async function getData() { skip: 0, }); const { data } = await arrayData.fetch({ append: false, updateRouter: false }); - entity.value = data; emit('onFetch', data); } const emit = defineEmits(['onFetch']); diff --git a/src/components/ui/VnSubToolbar.vue b/src/components/ui/VnSubToolbar.vue index ba5705122..1a6549856 100644 --- a/src/components/ui/VnSubToolbar.vue +++ b/src/components/ui/VnSubToolbar.vue @@ -27,10 +27,10 @@ onUnmounted(() => {