Merge pull request #233 from guardicore/bugfix/fix_map_colors

Bugfix - report map colored again
This commit is contained in:
Daniel Goldberg 2018-12-24 11:47:08 +02:00 committed by GitHub
commit d567a8da46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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();