Open
Description
The results table for https://liga.99damage.de/leagues/teams/55410-onyx-talents can't be created. For me, the background script throws a console error
It indicated that the error is in line
match.draftMaps.find(function(draftMap)
of
var getMatchTableItems = function getMatchTableItems(match, division) {
var season = (0,
_selectors__WEBPACK_IMPORTED_MODULE_5__.getSeason)(division.url);
if (match.scores.length === 0) {
return [_objectSpread(_objectSpread({}, match), {}, {
division: division
}, season && {
season: season
})];
}
return match.scores.map(function(score, index) {
return _objectSpread(_objectSpread(_objectSpread({}, match), {}, {
division: division,
score1: score.score1,
score2: score.score2
}, season && {
season: season
}), {}, {
map: match.draftMaps.find(function(draftMap) {
return draftMap.id === match.draftMapvotingPicks[index];
})
});
});
};