techradar icon indicating copy to clipboard operation
techradar copied to clipboard

fixing up an issue where the radar crashes if an outer layer is filled i...

Open hasTimc opened this issue 10 years ago • 1 comments

...n without all inner layers filled in. i.e. if you have an item in hold and 3 in adopt with nothing in trial or assess the picture will not display without this fix.

hasTimc avatar Mar 10 '15 23:03 hasTimc

I think this solves the same problem I was seeing. I did slightly differently since I didn't understand if the key thing was important. I just got a dataIndex (below) to use for the points, but I think it solves the same issue the for loop setup in this change addresses

My tweak for (var stageIdx in _(itemsByStage).keys()) { dataIndex = _(itemsByStage).keys()[stageIdx]

NetAppBlueDevil avatar Apr 01 '15 14:04 NetAppBlueDevil