diff --git a/src/pages/Claim/Card/ClaimAction.vue b/src/pages/Claim/Card/ClaimAction.vue index 2d8498367..44575f1d6 100644 --- a/src/pages/Claim/Card/ClaimAction.vue +++ b/src/pages/Claim/Card/ClaimAction.vue @@ -31,7 +31,12 @@ const selectedRows = ref([]); const destinationTypes = ref([]); const totalClaimed = ref(null); const DEFAULT_MAX_RESPONSABILITY = 5; +const DEFAULT_MIN_RESPONSABILITY = 1; const arrayData = useArrayData('claimData'); +const marker_labels = [ + { value: DEFAULT_MIN_RESPONSABILITY, label: t('claim.summary.company') }, + { value: DEFAULT_MAX_RESPONSABILITY, label: t('claim.summary.person') }, +]; const columns = computed(() => [ { @@ -258,12 +263,9 @@ async function importToNewRefundTicket() { label-always color="primary" markers - :marker-labels="[ - { value: 1, label: t('claim.summary.company') }, - { value: 5, label: t('claim.summary.person') }, - ]" - :min="1" - :max="5" + :marker-labels="marker_labels" + :min="DEFAULT_MIN_RESPONSABILITY" + :max="DEFAULT_MAX_RESPONSABILITY" />