web/admin: fix linting

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-09-17 16:54:48 +02:00
parent ccafe7be4f
commit 8925afb089
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ export class LDAPSyncStatusChart extends AKChart<LDAPSyncStats> {
const health = await api.sourcesLdapSyncStatusList({
slug: element.slug,
});
health.forEach(task => {
health.forEach((task) => {
if (task.status !== StatusEnum.Successful) {
failed += 1;
}
@ -52,7 +52,7 @@ export class LDAPSyncStatusChart extends AKChart<LDAPSyncStats> {
} else {
healthy += 1;
}
})
});
} catch {
unsynced += 1;
}