mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-21 03:59:50 +00:00
Run pre-commit hooks over existing codebase
Co-Authored-By: Ben Phelps <ben@phelps.io>
This commit is contained in:
parent
fa50bbad9c
commit
19c25713c4
387 changed files with 4785 additions and 4109 deletions
|
@ -27,10 +27,7 @@ export default function Component({ service }) {
|
|||
|
||||
return (
|
||||
<Container service={service}>
|
||||
<Block
|
||||
label="strelaysrv.numActiveSessions"
|
||||
value={t("common.number", { value: statsData.numActiveSessions })}
|
||||
/>
|
||||
<Block label="strelaysrv.numActiveSessions" value={t("common.number", { value: statsData.numActiveSessions })} />
|
||||
<Block label="strelaysrv.numConnections" value={t("common.number", { value: statsData.numConnections })} />
|
||||
<Block label={t("strelaysrv.dataRelayed")} value={t("common.bytes", { value: statsData.bytesProxied })} />
|
||||
<Block
|
||||
|
|
|
@ -7,11 +7,7 @@ const widget = {
|
|||
mappings: {
|
||||
status: {
|
||||
endpoint: "status",
|
||||
validate: [
|
||||
"numActiveSessions",
|
||||
"numConnections",
|
||||
"bytesProxied"
|
||||
]
|
||||
validate: ["numActiveSessions", "numConnections", "bytesProxied"],
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue