From e4a37779d195d8c872a29824a78bdb33eb50852b Mon Sep 17 00:00:00 2001 From: yuriy0803 <68668177+yuriy0803@users.noreply.github.com> Date: Sun, 30 Jun 2024 14:25:38 +0200 Subject: [PATCH] Update index.hbs --- www/app/templates/index.hbs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 +