mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 09:41:57 +00:00
Use rank to determine color in details
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user