diff --git a/src/page.h b/src/page.h index 7b6e054..aa2f399 100644 --- a/src/page.h +++ b/src/page.h @@ -1550,7 +1550,8 @@ public: context.emplace("outputs", outputs); - context["sum_xmr"] = xmreg::xmr_amount_to_str(sum_xmr); + context["found_our_outputs"] = (sum_xmr > 0); + context["sum_xmr"] = xmreg::xmr_amount_to_str(sum_xmr); context.emplace("inputs", inputs); context["show_inputs"] = false; diff --git a/src/templates/my_outputs.html b/src/templates/my_outputs.html index 185599c..7dd8f4e 100644 --- a/src/templates/my_outputs.html +++ b/src/templates/my_outputs.html @@ -62,7 +62,15 @@ {{/outputs}} -