mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-13 00:18: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
|
@ -24,8 +24,8 @@ export default function Component({ service }) {
|
|||
);
|
||||
}
|
||||
|
||||
const upCount = targetsData.data.activeTargets.filter(a => a.health === "up").length;
|
||||
const downCount = targetsData.data.activeTargets.filter(a => a.health === "down").length;
|
||||
const upCount = targetsData.data.activeTargets.filter((a) => a.health === "up").length;
|
||||
const downCount = targetsData.data.activeTargets.filter((a) => a.health === "down").length;
|
||||
const totalCount = targetsData.data.activeTargets.length;
|
||||
|
||||
return (
|
||||
|
|
|
@ -7,11 +7,9 @@ const widget = {
|
|||
mappings: {
|
||||
targets: {
|
||||
endpoint: "targets",
|
||||
validate: [
|
||||
"data"
|
||||
]
|
||||
validate: ["data"],
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default widget;
|
||||
export default widget;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue