mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 17:51:21 +00:00
Table-mode: fixes processes view if internet is present.
- Also adds tooltip for id label column (container/process name)
This commit is contained in:
@@ -61,7 +61,7 @@ function renderIdCell(props) {
|
||||
const showSubLabel = Boolean(props.pseudo);
|
||||
|
||||
return (
|
||||
<div className="nodes-grid-id-column">
|
||||
<div title={props.label} className="nodes-grid-id-column">
|
||||
<div style={iconStyle}><i className="fa fa-square" /></div>
|
||||
<div className="truncate">
|
||||
{props.label} {showSubLabel &&
|
||||
|
||||
@@ -75,7 +75,7 @@ function getValueForSortBy(sortBy) {
|
||||
function getMetaDataSorters(nodes) {
|
||||
// returns an array of sorters that will take a node
|
||||
return _.get(nodes, [0, 'metadata'], []).map((field, index) => node => {
|
||||
const nodeMetadataField = node.metadata[index];
|
||||
const nodeMetadataField = node.metadata && node.metadata[index];
|
||||
if (nodeMetadataField) {
|
||||
if (isNumberField(nodeMetadataField)) {
|
||||
return parseFloat(nodeMetadataField.value);
|
||||
|
||||
Reference in New Issue
Block a user