Skip to content

Commit

Permalink
ui tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
bokkypoobah committed Oct 2, 2024
1 parent fb6004c commit 4851bdb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/tradeFungibles.js
Original file line number Diff line number Diff line change
Expand Up @@ -3789,6 +3789,8 @@ data: {{ data }}
formatExpiry(e) {
if (e == 0) {
return "n/a";
} else if (e == null) {
return "sim";
} else {
const s = e - moment().unix();
if (s >= (365 * 24 * 60 * 60)) {
Expand All @@ -3809,7 +3811,7 @@ data: {{ data }}
} else if (s >= 0) {
return parseInt(s) + "s";
} else {
return "sim";
return "expired";
}
}
},
Expand Down

0 comments on commit 4851bdb

Please sign in to comment.