We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45818ff commit 1cd93acCopy full SHA for 1cd93ac
src/js/view/screen/main.js
@@ -192,14 +192,14 @@ class MainScreen {
192
I.flyingmoney(icon_span);
193
var label = ended ? "Socket Session" : "In Progress";
194
D.textSpan(flex, label, "flex-grow text-sm");
195
-
196
D.textSpan(flex, total_txs.toString() + "tx", "font-bold px-2");
197
+ var wad = (total_txs == 0) ?
+ this.model.msatsToWalletCurrencyWad(0) : total_wad;
198
if (increment) {
199
- D.textSpan(flex, "+ " + total_wad.toString(),
+ D.textSpan(flex, "+ " + wad.toString(),
200
"font-bold text-green-400 px-2");
201
} else {
202
- D.textSpan(flex, "- " + total_wad.toString(),
+ D.textSpan(flex, "- " + wad.toString(),
203
"font-bold text-red-400 px-2");
204
}
205
0 commit comments