Fixes from pre-commit hooks

This commit is contained in:
root 2024-11-04 23:29:13 +03:00
parent 512798a922
commit aeaac457b4
2 changed files with 1 additions and 3 deletions

View File

@ -1,4 +1,3 @@
--- ---
title: Headscale title: Headscale
description: Headscale Widget Configuration description: Headscale Widget Configuration
@ -18,4 +17,3 @@ widget:
nodeId: nodeid nodeId: nodeid
key: headscaleapiaccesstoken key: headscaleapiaccesstoken
``` ```

View File

@ -36,7 +36,7 @@ export default function Component({ service }) {
<Container service={service}> <Container service={service}>
<Block label="headscale.name" value={givenName} /> <Block label="headscale.name" value={givenName} />
<Block label="headscale.address" value={address} /> <Block label="headscale.address" value={address} />
<Block label="headscale.last_seen" value={t("common.relativeDate", {value: lastSeen})} /> <Block label="headscale.last_seen" value={t("common.relativeDate", { value: lastSeen })} />
<Block label="headscale.status" value={t(online ? "headscale.online" : "headscale.offline")} /> <Block label="headscale.status" value={t(online ? "headscale.online" : "headscale.offline")} />
</Container> </Container>
); );