diff --git a/.prettierrc.js b/.prettierrc.js index 7f8297442..eaeeaa5eb 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -1,6 +1,6 @@ module.exports = { singleQuote: true, - printWidth: 120, + printWidth: 90, tabWidth: 4, semi: true, endOfLine: 'auto', diff --git a/src/components/ui/CardSummary.vue b/src/components/ui/CardSummary.vue index 262d9c9be..a5659fea9 100644 --- a/src/components/ui/CardSummary.vue +++ b/src/components/ui/CardSummary.vue @@ -15,6 +15,11 @@ onMounted(() => fetch()); const entity = ref(); const entityId = toRef(props, 'id'); +defineExpose({ + entity, + fetch, +}); + async function fetch() { const id = entityId.value; const { data } = await axios.get(`Clients/${id}/summary`); diff --git a/src/pages/Customer/Card/CustomerSummary.vue b/src/pages/Customer/Card/CustomerSummary.vue index ca21504b4..27d104092 100644 --- a/src/pages/Customer/Card/CustomerSummary.vue +++ b/src/pages/Customer/Card/CustomerSummary.vue @@ -1,5 +1,5 @@