Make report map colored again

This commit is contained in:
Daniel Goldberg 2018-12-18 16:08:19 +02:00
parent 598455113b
commit 9ccd1db309
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.json())
.then(res => { .then(res => {
res.edges.forEach(edge => { res.edges.forEach(edge => {
edge.color = edgeGroupToColor(edge.group); edge.color = {'color': edgeGroupToColor(edge.group)};
}); });
this.setState({graph: res}); this.setState({graph: res});
this.props.onStatusChange(); this.props.onStatusChange();