From 7f93750a6223f92aa280e9c1166dd8f0f73500b6 Mon Sep 17 00:00:00 2001 From: Dan Janosik Date: Sun, 23 Sep 2018 12:54:24 -0400 Subject: [PATCH] tweak for display of empty tx list for address vs no electrum servers configured --- views/address.pug | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/views/address.pug b/views/address.pug index 6c52e65..b89e06e 100644 --- a/views/address.pug +++ b/views/address.pug @@ -220,10 +220,11 @@ block content span The transaction history for this address was requested from mulitple ElectrumX servers and the results did not match. The results below were obtained only from span(class="font-weight-bold") #{electrumHistory.server} - if (!transactions || transactions.length == 0) - span No transactions found - + if (transactions) + if (transactions.length == 0) + span No transactions found + each tx, txIndex in transactions //pre // code #{JSON.stringify(tx, null, 4)}