Update component.jsx

This commit is contained in:
shamoon 2025-08-20 13:29:43 -07:00
parent 9a085bcb17
commit a6ab095ff9
No known key found for this signature in database

View File

@ -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; failedLoginsLast24H = failedLoginsData[0]?.count || 0;
}
if (failedLoginsData.length > 0) {
failedLoginsLast24H = failedLoginsData[0]?.count || 0;
}
break; break;
} }