mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-02 04:00:36 +00:00
Merge pull request #4352 from crookedneighbor/show-gem-purchases-with-customer-id
Converted planId to customerId as test for whether or not gems can be purchased.
This commit is contained in:
commit
7ab5456c2a
1 changed files with 1 additions and 1 deletions
|
|
@ -197,7 +197,7 @@ script(type='text/ng-template', id='partials/options.inventory.drops.html')
|
|||
p
|
||||
| 4
|
||||
span.Pet_Currency_Gem1x.inline-gems
|
||||
div(ng-if='user.purchased.plan.planId')
|
||||
div(ng-if='user.purchased.plan.customerId')
|
||||
button.customize-option(popover=env.t('subGemPop'), popover-title=env.t('subGemName'), popover-trigger='mouseenter', popover-placement='top',ng-click='user.ops.purchase({params:{type:"gems",key:"gem"}})')
|
||||
span.Pet_Currency_Gem.inline-gems
|
||||
.badge.badge-success.stack-count {{Shared.planGemLimits.convCap + User.user.purchased.plan.consecutive.gemCapExtra - User.user.purchased.plan.gemsBought}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue