Enhancement: better support for raw values in block highlighting (#6434)

This commit is contained in:
shamoon
2026-03-17 09:12:01 -07:00
committed by GitHub
parent 6bdea294c1
commit fadb03ad27
35 changed files with 300 additions and 78 deletions
+2 -2
View File
@@ -34,8 +34,8 @@ export default function Component({ service }) {
return (
<Container service={service}>
<Block label="rutorrent.active" value={active.length} />
<Block label="rutorrent.upload" value={t("common.byterate", { value: upload })} />
<Block label="rutorrent.download" value={t("common.byterate", { value: download })} />
<Block label="rutorrent.upload" value={t("common.byterate", { value: upload })} highlightValue={upload} />
<Block label="rutorrent.download" value={t("common.byterate", { value: download })} highlightValue={download} />
</Container>
);
}