Skip to content

Commit

Permalink
web/satellite/vuetify-poc: hide 'Add coupon' button when coupon featu…
Browse files Browse the repository at this point in the history
…res are disabled

Hide button if feature flag is set to false.

Issue:
#6547

Change-Id: I0e13bacfe6a8651ebc573abc3f23a749821d63a5
  • Loading branch information
VitaliiShpital committed Dec 4, 2023
1 parent 775ee86 commit 7b3770e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/satellite/vuetify-poc/src/views/Billing.vue
Expand Up @@ -91,6 +91,7 @@
<v-card
v-else-if="coupon"
:title="`Coupon / ${coupon.name}`"
height="100%"
:subtitle="`${isCouponActive ? 'Active' : 'Expired'} / ${couponExpiration}`"
rounded="xlg"
>
Expand All @@ -107,6 +108,7 @@
<v-divider class="my-4" />

<v-btn
v-if="couponCodeBillingUIEnabled"
variant="outlined"
color="default"
size="small"
Expand Down

0 comments on commit 7b3770e

Please sign in to comment.