Various UI improvements #43
@ -8,10 +8,10 @@
|
||||
<div class="md:col-span-4 mt-4 md:mt-0">
|
||||
<p class="font-mono md:text-right p-4 bg-gray-50 shadow rounded-lg overflow-hidden">
|
||||
<% if @balance %>
|
||||
<span class="text-xl">48590<%= @balance %> sats</span><br>
|
||||
<span class="text-xl"><%= @balance %> sats</span><br>
|
||||
|
raucao marked this conversation as resolved
Outdated
|
||||
<span class="text-sm text-gray-500">Available balance</span>
|
||||
<% else %>
|
||||
<span class="text-xl">n/a<%= @balance %> sats</span><br>
|
||||
<span class="text-xl">n/a sats</span><br>
|
||||
|
raucao marked this conversation as resolved
Outdated
galfert
commented
Looks like a copy/paste error. The Looks like a copy/paste error. The `<%= @balance %>` should be removed.
|
||||
<span class="text-sm text-gray-500">Balance unavailable</span>
|
||||
<% end %>
|
||||
</p>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user
There is a hardcoded number in front of the actual balance.