mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-10 15:28:47 +00:00
Fix: Lint docker stats throughput PR
This commit is contained in:
parent
7f50f6cfaa
commit
6316de6fa6
2 changed files with 10 additions and 10 deletions
|
@ -41,7 +41,7 @@ export default function Component({ service }) {
|
|||
);
|
||||
}
|
||||
|
||||
const { rx_bytes, tx_bytes } = calculateThroughput(statsData.stats);
|
||||
const { rxBytes, txBytes } = calculateThroughput(statsData.stats);
|
||||
|
||||
return (
|
||||
<Container service={service}>
|
||||
|
@ -51,8 +51,8 @@ export default function Component({ service }) {
|
|||
)}
|
||||
{statsData.stats.networks && (
|
||||
<>
|
||||
<Block label="docker.rx" value={t("common.bytes", { value: rx_bytes })} />
|
||||
<Block label="docker.tx" value={t("common.bytes", { value: tx_bytes })} />
|
||||
<Block label="docker.rx" value={t("common.bytes", { value: rxBytes })} />
|
||||
<Block label="docker.tx" value={t("common.bytes", { value: txBytes })} />
|
||||
</>
|
||||
)}
|
||||
</Container>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue