diff --git a/www/app/templates/index.hbs b/www/app/templates/index.hbs index 6e0e80d..a65d092 100644 --- a/www/app/templates/index.hbs +++ b/www/app/templates/index.hbs @@ -38,7 +38,13 @@
Mining Block: {{stats.height}}
Luck: {{format-number stats.roundVariance style='percent'}}
-
Current price: $ {{model.exchangedata.price_usd}} +
+ Current price: + $ {{#if (unless (eq model.exchangedata.price_usd 0) model.exchangedata.price_usd)}} + {{else}} + {{model.exchangedata.current_price}} + {{/if}} +
@@ -83,4 +89,4 @@ - \ No newline at end of file +