mirror of
https://github.com/lnbits/lnbits.git
synced 2025-03-26 17:51:53 +01:00
Update wallet.html
This commit is contained in:
parent
adfa707554
commit
820bb8deea
@ -76,7 +76,7 @@
|
||||
<!-- small box -->
|
||||
<div class="small-box bg-aqua">
|
||||
<div class="inner">
|
||||
<h3><b>{{ wallet.balance }} sats</b></h3>
|
||||
<h3><b id="walletsats"></b></h3>
|
||||
<h3>{{ wallet.name }}</h3>
|
||||
</div>
|
||||
<div class="icon">
|
||||
@ -247,6 +247,8 @@
|
||||
window.user_wallets = {{ user_wallets | megajson | safe }}
|
||||
window.wallet = {{ wallet | megajson | safe }}
|
||||
window.transactions = {{ transactions | megajson | safe }}
|
||||
|
||||
document.getElementById("walletsats").innerHTML = Math.round({{ wallet.balance }}) + " sats";
|
||||
</script>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user