Skip to content

Commit

Permalink
Merge pull request #2321 from ljain112/fix-uc-page
Browse files Browse the repository at this point in the history
fix: show validity date section only if date is availbale in IC Page
  • Loading branch information
vorasmit authored Jul 1, 2024
2 parents 5e2f820 + 4f573a4 commit bca64da
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
<p class="value">{{ getReadableNumber(is_unlimited_account ? used_credits : balance_credits, 0)}}</p>
</div>
<div class="subscription-details-item">
<p class="label">{{ is_unlimited_account ? 'Next Billing Date' : 'Valid Upto' }}</p>
<p class="value" :class="{ 'mb-4': is_unlimited_account }">{{ valid_upto }}</p>
<div v-show="valid_upto">
<p class="label">{{ is_unlimited_account ? 'Next Billing Date' : 'Valid Upto' }}</p>
<p class="value" :class="{ 'mb-4': is_unlimited_account }">{{ valid_upto }}</p>
</div>
</div>
<router-link v-if="!is_unlimited_account"
class="btn btn-primary btn-sm btn-block"
Expand Down

0 comments on commit bca64da

Please sign in to comment.