Skip to content

Commit

Permalink
fix(dashboard): payout info not showing approvedBy and improve styl…
Browse files Browse the repository at this point in the history
…ing (#501)
  • Loading branch information
JustSamuel authored Feb 10, 2025
1 parent 986d927 commit 9b118e0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions apps/dashboard/src/locales/en/modules/financial.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
"title": "Payout overview",
"create": "Create payout",
"requestedBy": "Requested by",
"details": "Payout details",
"approvedBy": "Approved by",
"details": "Payout details #{payoutId}",
"approvedBy": "Approved by {approvedBy}",
"approve": "Approve",
"deny": "Deny"
},
Expand Down
4 changes: 2 additions & 2 deletions apps/dashboard/src/locales/nl/modules/financial.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
"title": "Uitbetalingsoverzicht",
"create": "Uitbetaling aanmaken",
"requestedBy": "Aangevraagd door",
"details": "Uitbetalingsdetails",
"approvedBy": "Goedgekeurd door",
"details": "Uitbetalingsdetails #{payoutId}",
"approvedBy": "Goedgekeurd door {approvedBy}",
"approve": "Goedkeuren",
"deny": "Afwijzen"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
<div class="flex flex-column">
<span>{{ t('common.createdAt') + ': ' }}{{ formatDateFromString(payout.createdAt) }}</span>
<span>{{ t('common.updatedAt') + ': ' }}{{ formatDateFromString(payout.updatedAt) }}</span>
<span>{{ t('common.id') + ': ' }}{{ payout.id }}</span>
</div>
</div>
<div v-if="isApproved && payout.approvedBy" class="mt-1">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
v-model:visible="showModal"
:draggable="false"
class="w-auto flex w-9 md:w-4"
:header="t('modules.financial.payout.details')">
:header="t('modules.financial.payout.details', { payoutId })">
<PayoutInfo :payoutId="payoutId" @close="showModal = false"/>
</Dialog>
</div>
Expand Down

0 comments on commit 9b118e0

Please sign in to comment.