mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
Show 0 in the gem prize box if gem prize is null (#11453)
* show 0 in the gem prize box if gem prize is null * adding space between brackets
This commit is contained in:
committed by
Matteo Pagliazzi
parent
0482941934
commit
d98614d403
@@ -68,7 +68,7 @@
|
|||||||
class="svg-icon gem-icon"
|
class="svg-icon gem-icon"
|
||||||
v-html="icons.gemIcon"
|
v-html="icons.gemIcon"
|
||||||
></div>
|
></div>
|
||||||
{{ challenge.prize }}
|
{{ challenge.prize || 0 }}
|
||||||
<div
|
<div
|
||||||
v-once
|
v-once
|
||||||
class="details"
|
class="details"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
class="svg-icon"
|
class="svg-icon"
|
||||||
v-html="icons.gemIcon"
|
v-html="icons.gemIcon"
|
||||||
></span>
|
></span>
|
||||||
<span class="value">{{ challenge.prize }}</span>
|
<span class="value">{{ challenge.prize || 0 }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="label">
|
<div class="label">
|
||||||
{{ $t('prize') }}
|
{{ $t('prize') }}
|
||||||
|
|||||||
Reference in New Issue
Block a user