Show empty amounts as zero
This commit is contained in:
parent
792fa76887
commit
14efbb02b0
@ -381,6 +381,9 @@ func formatTime(t time.Time) string {
|
||||
// for now return the string as it is
|
||||
// in future could be used to do coin specific formatting
|
||||
func formatAmount(a string) string {
|
||||
if a == "" {
|
||||
return "0"
|
||||
}
|
||||
return a
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user