mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Change node table empty state
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
abfd39523a
commit
8d4d04a71f
@ -92,7 +92,11 @@ export class NodesRoute extends React.Component {
|
||||
const metrics = this.getLastMetricValues(node, metricNames);
|
||||
|
||||
if (!metrics || metrics.length < 2) {
|
||||
return <VerticalBar value={0}/>;
|
||||
return (
|
||||
<div className="opacity-50 flex gap-2 items-center">
|
||||
<VerticalBar value={0}/>0%
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
const [usage, capacity] = metrics;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user