Fixes from pre-commit hooks
This commit is contained in:
parent
512798a922
commit
aeaac457b4
@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -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>
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user