1
0
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:
Alex Andreev 2022-04-05 15:22:54 +03:00
parent abfd39523a
commit 8d4d04a71f

View File

@ -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;