Skip to content

Commit

Permalink
21536 - sync refund label statuses with backend changes (#3078)
Browse files Browse the repository at this point in the history
  • Loading branch information
ochiu authored Oct 15, 2024
1 parent 8095402 commit 3be721a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions auth-web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion auth-web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "auth-web",
"version": "2.6.97",
"version": "2.6.98",
"appName": "Auth Web",
"sbcName": "SBC Common Components",
"private": true,
Expand Down
4 changes: 2 additions & 2 deletions auth-web/src/components/pay/ShortNameSummaryTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@
<template #item-slot-creditsRemaining="{ item }">
<span class="pr-2">{{ formatAmount(item.creditsRemaining) }}</span>
<v-chip
v-if="item.refundStatus === ShortNameRefundStatus.PENDING_REFUND"
v-if="item.refundStatus === ShortNameRefundStatus.PENDING_APPROVAL"
small
label
text-color="white"
class="primary pl-2 pr-2"
>
{{ ShortNameRefundLabel.PENDING_REFUND }}
{{ ShortNameRefundLabel.PENDING_APPROVAL }}
</v-chip>
</template>
<template #item-slot-linkedAccountsCount="{ item }">
Expand Down
4 changes: 2 additions & 2 deletions auth-web/src/util/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -765,9 +765,9 @@ export enum OrgNameLabel {
}

export enum ShortNameRefundStatus {
PENDING_REFUND = 'PENDING_REFUND'
PENDING_APPROVAL = 'PENDING_APPROVAL'
}

export enum ShortNameRefundLabel {
PENDING_REFUND = 'REFUND REQUEST'
PENDING_APPROVAL = 'REFUND REQUEST'
}

0 comments on commit 3be721a

Please sign in to comment.