|
|
|
@ -52,13 +52,13 @@ export default function Component({ service }) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!data) {
|
|
|
|
|
return <Container><Block position={{bottom: 2, left: 2}}>-</Block></Container>;
|
|
|
|
|
return <Container><Block position="bottom-3 left-3">-</Block></Container>;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const diskData = data.find((item) => item.disk_name === diskName);
|
|
|
|
|
|
|
|
|
|
if (!diskData) {
|
|
|
|
|
return <Container><Block position={{bottom: 2, left: 2}}>-</Block></Container>;
|
|
|
|
|
return <Container><Block position="bottom-3 left-3">-</Block></Container>;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const diskRates = calculateRates(dataPoints);
|
|
|
|
|