mirror of
https://github.com/gethomepage/homepage.git
synced 2025-11-01 02:57:02 -04:00
Update component.jsx
This commit is contained in:
parent
9a085bcb17
commit
a6ab095ff9
@ -47,12 +47,8 @@ export default function Component({ service }) {
|
|||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
if (loginsData.length > 0) {
|
|
||||||
loginsLast24H = loginsData[0]?.count || 0;
|
loginsLast24H = loginsData[0]?.count || 0;
|
||||||
}
|
|
||||||
if (failedLoginsData.length > 0) {
|
|
||||||
failedLoginsLast24H = failedLoginsData[0]?.count || 0;
|
failedLoginsLast24H = failedLoginsData[0]?.count || 0;
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user