Open Lyannic opened 2 years ago
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]; }) }); }); };
I guess this field is optional.
https://github.com/flashkillapp/flashkill/blob/5feaf28e1866c80fbf5e8dc1155de8d529e93005/src/model/Match.ts#L70
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
of