mirror of
https://gitlab.com/gridtracker.org/gridtracker
synced 2026-08-13 17:52:40 -04:00
fixed reference error on huntedCount
This commit is contained in:
parent
66f7ad87b3
commit
ac51710ff3
1 changed files with 4 additions and 1 deletions
|
|
@ -50,7 +50,10 @@ function renderRoster(callRoster, rosterSettings)
|
|||
|
||||
var totalCount = Object.keys(callRoster).length;
|
||||
var visibleCount = visibleCallList.length;
|
||||
var huntedCount = visibleCallList.filter(obj => Object.keys(obj.callObj.hunting).length > 0).length
|
||||
|
||||
var huntedCount = 0;
|
||||
if (typeof(obj) !== 'undefined' && typeof(obj.callObj) !==' undefined' && typeof(obj.callObj.hunting) !== 'undefined')
|
||||
huntedCount = visibleCallList.filter(obj => Object.keys().length > 0).length
|
||||
var countParts = [];
|
||||
|
||||
if (totalCount != visibleCount)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue