Skip to content

Commit

Permalink
Don't show VSPs which have never updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
jholdstock committed Jan 8, 2025
1 parent c722542 commit c29dce6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/assets/js/vsp.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ var drawTable = function(data) {
return;
}

if (poolData["lastupdated"] === 0) {
return;
}

var lastUpdated = poolData["lastupdated"] - now;
var lastUpdateFormatted = moment.duration(lastUpdated, "seconds").humanize(true);
if (lastUpdateFormatted.indexOf("years") > 0) {
Expand Down

0 comments on commit c29dce6

Please sign in to comment.