Only show loop log if lnd has wallet

This commit is contained in:
Taylor Helsper 2020-05-25 19:42:03 -05:00
parent ea0b8b544a
commit 2c2f1ac10e
2 changed files with 3 additions and 0 deletions

View File

@ -239,6 +239,7 @@ def page_status():
"product_key_skipped": pk_skipped,
"product_key_error": pk_error,
"changelog": changelog,
"lnd_wallet_exists": lnd_wallet_exists(),
"is_installing_docker_images": is_installing_docker_images(),
"running_containers": running_containers,
"startup_status_log": startup_status_log,

View File

@ -297,6 +297,7 @@
<div id="lnd_status" style='text-align: left; font-size: 12px; width: 800px; display: none;'><pre>{{lnd_status_log}}</pre></div>
<div class="divider"></div>
{% if lnd_wallet_exists %}
<div class="settings_block_subheader">Loop Status</div>
<div class="settings_block_subheader_status">
<div class="settings_block_subheader_status_icon {{ loopd_status_color }}"></div>
@ -305,6 +306,7 @@
<button id="show_loopd_status" class="ui-button ui-widget ui-corner-all settings_button_small">Show Log</button>
<div id="loopd_status" style='text-align: left; font-size: 12px; width: 800px; display: none;'><pre>{{loopd_status_log}}</pre></div>
<div class="divider"></div>
{% endif %}
<div class="settings_block_subheader">Electrum Server Status</div>
<div class="settings_block_subheader_status">