ArchiveTeam/terroroftinytown

Tracker web UI: recent items displayed is off by one

Closed this issue · 2 comments

The number of rows displayed in recent items table for the tracker's homepage is off by one.

Quickly checked this locally and removing the -1 from fixes this. Would you like me to PR and see if it affects anything else?

ws.stats.live.splice($scope.recentLimit - 1, ws.stats.live.length);

chfoo commented

Sorry for the delay, thanks for looking into this. A PR will be fine.