From 169ebbe5931dc435fbe9ae48590ce6542a7fa228 Mon Sep 17 00:00:00 2001 From: pablone Date: Thu, 27 Mar 2025 09:43:00 +0100 Subject: [PATCH] refactor: refs #8699 adjust alignment and sortable property for percentage column in ExtraCommunity.vue --- src/pages/Travel/ExtraCommunity.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/Travel/ExtraCommunity.vue b/src/pages/Travel/ExtraCommunity.vue index c1c5f7b9c8a..d30629a80d7 100644 --- a/src/pages/Travel/ExtraCommunity.vue +++ b/src/pages/Travel/ExtraCommunity.vue @@ -197,8 +197,9 @@ const columns = computed(() => [ label: '%', field: '', name: 'percentage', - align: 'center', + align: 'right', showValue: false, + sortable: true, }, { label: t('extraCommunity.kg'), @@ -528,7 +529,7 @@ watch(route, () => { ? `${props.row.percentageKg}%` : '-' " - class="text-left q-py-xs q-px-sm" + class="text-right q-py-xs q-px-sm" :color="getColor(props.row.percentageKg)" />