Do this with percentage bar
This commit is contained in:
parent
416053c963
commit
98bc4719d9
@ -41,7 +41,7 @@ export default function Network({ options, refresh = 1500 }) {
|
|||||||
expandedLabel={`${t("common.bbytes", { value: data.network.rx_bytes })} ↓`}
|
expandedLabel={`${t("common.bbytes", { value: data.network.rx_bytes })} ↓`}
|
||||||
expanded={options.expanded}
|
expanded={options.expanded}
|
||||||
wide
|
wide
|
||||||
percentage="0"
|
percentage={(100 * data.network.rx_sec) / (data.network.rx_sec + data.network.tx_sec)}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user