From 5462d3ce9a823b28682863fca9afd64689242813 Mon Sep 17 00:00:00 2001 From: carlossa Date: Mon, 5 Feb 2024 09:57:09 +0100 Subject: [PATCH 1/3] refs #6787 isLoading --- src/pages/Customer/Card/CustomerDescriptor.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/pages/Customer/Card/CustomerDescriptor.vue b/src/pages/Customer/Card/CustomerDescriptor.vue index 222406d8a..833a310ad 100644 --- a/src/pages/Customer/Card/CustomerDescriptor.vue +++ b/src/pages/Customer/Card/CustomerDescriptor.vue @@ -19,16 +19,17 @@ const $props = defineProps({ default: null, }, }); - +const isLoading = ref(false); const route = useRoute(); const { t } = useI18n(); - const entityId = computed(() => { return $props.id || route.params.id; }); +isLoading.value = true; const data = ref(useCardDescription()); const setData = (entity) => (data.value = useCardDescription(entity.name, entity.id)); +isLoading.value = false; + { -- 2.40.1 From 760b2d5574a621a44a2532cbe418c47738f63917 Mon Sep 17 00:00:00 2001 From: carlossa Date: Mon, 5 Feb 2024 10:30:23 +0100 Subject: [PATCH 2/3] refs #6787 isLoading CardDescriptor --- src/components/ui/CardDescriptor.vue | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/components/ui/CardDescriptor.vue b/src/components/ui/CardDescriptor.vue index 8f6ffa35d..afedfe06f 100644 --- a/src/components/ui/CardDescriptor.vue +++ b/src/components/ui/CardDescriptor.vue @@ -1,5 +1,5 @@ - { -- 2.40.1