[MM-55469] Don't show ldap job details until job runs (#25433)

This commit is contained in:
Ben Schumacher 2024-02-13 10:09:11 +01:00 committed by GitHub
parent cf11adff98
commit 8498a18854
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3573,6 +3573,10 @@ const AdminDefinition: AdminDefinitionType = {
it.stateIsFalse('LdapSettings.EnableSync'),
),
render_job: (job: Job) => {
if (job.status === 'pending') {
return <span>{'--'}</span>;
}
let ldapUsers = 0;
let deleteCount = 0;
let updateCount = 0;