diff --git a/src/components/ui/CardSummary.vue b/src/components/ui/CardSummary.vue index ae9a43578..cab5b98be 100644 --- a/src/components/ui/CardSummary.vue +++ b/src/components/ui/CardSummary.vue @@ -159,9 +159,9 @@ function existSummary(routes) { margin-top: 2px; .label { color: var(--vn-label-color); - width: 8em; + width: 9em; overflow: hidden; - white-space: nowrap; + white-space: wrap; text-overflow: ellipsis; margin-right: 10px; flex-grow: 0; diff --git a/src/pages/Customer/Card/CustomerSummary.vue b/src/pages/Customer/Card/CustomerSummary.vue index f386b0359..5a003dc85 100644 --- a/src/pages/Customer/Card/CustomerSummary.vue +++ b/src/pages/Customer/Card/CustomerSummary.vue @@ -306,10 +306,8 @@ const creditWarning = computed(() => { :value="entity.recommendedCredit" /> - -
- {{ t('Latest tickets') }} -
+ + diff --git a/src/pages/Customer/components/CustomerSummaryTable.vue b/src/pages/Customer/components/CustomerSummaryTable.vue index 6a33ebc88..dc9969b61 100644 --- a/src/pages/Customer/components/CustomerSummaryTable.vue +++ b/src/pages/Customer/components/CustomerSummaryTable.vue @@ -162,6 +162,7 @@ const navigateToticketSummary = (id) => { params: { id }, }); }; +const commonColumns = (col) => ['date', 'state', 'total'].includes(col);