diff --git a/src/pages/Customer/Card/CustomerSummary.vue b/src/pages/Customer/Card/CustomerSummary.vue index 891cbf576..57e3a5533 100644 --- a/src/pages/Customer/Card/CustomerSummary.vue +++ b/src/pages/Customer/Card/CustomerSummary.vue @@ -25,11 +25,7 @@ const $props = defineProps({ const entityId = computed(() => $props.id || route.params.id); const customer = computed(() => summary.value.entity); const summary = ref(); -const clientUrl = ref(); -onMounted(async () => { - clientUrl.value = (await getUrl('client/')) + entityId.value + '/'; -}); const defaulterAmount = computed(() => customer.value.defaulters[0]?.amount); const balanceDue = computed(() => { const amount = defaulterAmount.value;