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; + {