mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +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"
|
||||
v-html="icons.gemIcon"
|
||||
></div>
|
||||
{{ challenge.prize }}
|
||||
{{ challenge.prize || 0 }}
|
||||
<div
|
||||
v-once
|
||||
class="details"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
class="svg-icon"
|
||||
v-html="icons.gemIcon"
|
||||
></span>
|
||||
<span class="value">{{ challenge.prize }}</span>
|
||||
<span class="value">{{ challenge.prize || 0 }}</span>
|
||||
</div>
|
||||
<div class="label">
|
||||
{{ $t('prize') }}
|
||||
|
||||
Reference in New Issue
Block a user