Change node table empty state

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2022-04-05 15:22:54 +03:00
1 parent abfd39523a
commit 8d4d04a71f
1 file changed
+5 -1
+5 -1
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;