Use rank to determine color in details

This commit is contained in:
David Kaltschmidt
2015-11-20 13:01:09 +01:00
parent 7ad7778965
commit 0cae3541fa
3 changed files with 5 additions and 1 deletions

View File

@@ -61,7 +61,7 @@ const NodeDetails = React.createClass({
return this.renderLoading();
}
const nodeColor = this.getNodeColorDark(details.label_major);
const nodeColor = this.getNodeColorDark(details.rank);
const styles = {
controls: {
'backgroundColor': this.brightenColor(nodeColor)