Skip to content

Commit

Permalink
Merge pull request #2956 from threefoldtech/development_2.6_pricing_c…
Browse files Browse the repository at this point in the history
…alculator

Fix too expensive box flashing
  • Loading branch information
samaradel authored Jun 11, 2024
2 parents 539dac6 + 4b75cbc commit ce6cb3b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions packages/playground/src/calculator/pricing_calculator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,11 @@
</p>
</input-tooltip>
</div>
<section class="card mt-5" v-if="priceTask.data?.dedicatedPackage.package !== 'gold'">

<section
class="card mt-5"
v-if="!priceTask.loading && priceTask.data?.dedicatedPackage.package !== 'gold'"
>
<p class="card-info pa-2">
<b>Too expensive?</b> can upgrade to <b>Gold package</b> to get discount up to 60% when you fund your
wallet with <b>{{ dedicatedUpgradePrice }}</b> TFT
Expand All @@ -198,7 +202,10 @@
</p>
</input-tooltip>
</div>
<section class="card mt-5 pa-2" v-if="priceTask.data?.sharedPackage.package !== 'gold'">
<section
class="card mt-5 pa-2"
v-if="!priceTask.loading && priceTask.data?.sharedPackage.package !== 'gold'"
>
<p class="card-info">
<b>Too expensive?</b> can upgrade to <b>Gold package</b> to get discount up to 60% when you fund your
wallet with <b>{{ sharedUpgradePrice }}</b> TFT
Expand Down

0 comments on commit ce6cb3b

Please sign in to comment.