web/admin: fix linting
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
ccafe7be4f
commit
8925afb089
|
@ -41,7 +41,7 @@ export class LDAPSyncStatusChart extends AKChart<LDAPSyncStats> {
|
||||||
const health = await api.sourcesLdapSyncStatusList({
|
const health = await api.sourcesLdapSyncStatusList({
|
||||||
slug: element.slug,
|
slug: element.slug,
|
||||||
});
|
});
|
||||||
health.forEach(task => {
|
health.forEach((task) => {
|
||||||
if (task.status !== StatusEnum.Successful) {
|
if (task.status !== StatusEnum.Successful) {
|
||||||
failed += 1;
|
failed += 1;
|
||||||
}
|
}
|
||||||
|
@ -52,7 +52,7 @@ export class LDAPSyncStatusChart extends AKChart<LDAPSyncStats> {
|
||||||
} else {
|
} else {
|
||||||
healthy += 1;
|
healthy += 1;
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
} catch {
|
} catch {
|
||||||
unsynced += 1;
|
unsynced += 1;
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue