mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-08 14:38:47 +00:00
Fix: remove translation on block labels in healthchecks widget (#2440)
This commit is contained in:
parent
5e01eb4a8d
commit
914cd71c76
1 changed files with 4 additions and 4 deletions
|
@ -40,17 +40,17 @@ export default function Component({ service }) {
|
||||||
if (!data) {
|
if (!data) {
|
||||||
return (
|
return (
|
||||||
<Container service={service}>
|
<Container service={service}>
|
||||||
<Block label={t("healthchecks.status")} />
|
<Block label="healthchecks.status" />
|
||||||
<Block label={t("healthchecks.last_ping")} />
|
<Block label="healthchecks.last_ping" />
|
||||||
</Container>
|
</Container>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Container service={service}>
|
<Container service={service}>
|
||||||
<Block label={t("healthchecks.status")} value={t(`healthchecks.${data.status}`)} />
|
<Block label="healthchecks.status" value={t(`healthchecks.${data.status}`)} />
|
||||||
<Block
|
<Block
|
||||||
label={t("healthchecks.last_ping")}
|
label="healthchecks.last_ping"
|
||||||
value={data.last_ping ? formatDate(data.last_ping) : t("healthchecks.never")}
|
value={data.last_ping ? formatDate(data.last_ping) : t("healthchecks.never")}
|
||||||
/>
|
/>
|
||||||
</Container>
|
</Container>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue