forked from p15670423/monkey
Merge pull request #233 from guardicore/bugfix/fix_map_colors
Bugfix - report map colored again
This commit is contained in:
commit
d567a8da46
|
@ -104,7 +104,7 @@ class ReportPageComponent extends AuthComponent {
|
|||
.then(res => res.json())
|
||||
.then(res => {
|
||||
res.edges.forEach(edge => {
|
||||
edge.color = edgeGroupToColor(edge.group);
|
||||
edge.color = {'color': edgeGroupToColor(edge.group)};
|
||||
});
|
||||
this.setState({graph: res});
|
||||
this.props.onStatusChange();
|
||||
|
|
Loading…
Reference in New Issue