mirror of
https://github.com/karl0ss/homepage.git
synced 2025-04-29 12:03:41 +01:00
Fix: remove translation on block labels in healthchecks widget (#2440)
This commit is contained in:
parent
5e01eb4a8d
commit
914cd71c76
@ -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…
x
Reference in New Issue
Block a user