diff --git a/web/src/pages/admin-overview/charts/LDAPSyncStatusChart.ts b/web/src/pages/admin-overview/charts/LDAPSyncStatusChart.ts index 5749d5b9d..c9149ce26 100644 --- a/web/src/pages/admin-overview/charts/LDAPSyncStatusChart.ts +++ b/web/src/pages/admin-overview/charts/LDAPSyncStatusChart.ts @@ -7,7 +7,7 @@ import { t } from "@lingui/macro"; import { customElement } from "lit/decorators.js"; -import { SourcesApi, StatusEnum } from "@goauthentik/api"; +import { SourcesApi, TaskStatusEnum } from "@goauthentik/api"; interface LDAPSyncStats { healthy: number; @@ -50,7 +50,7 @@ export class LDAPSyncStatusChart extends AKChart { }); health.forEach((task) => { - if (task.status !== StatusEnum.Successful) { + if (task.status !== TaskStatusEnum.Successful) { sourceKey = "failed"; } const now = new Date().getTime(); diff --git a/web/src/pages/sources/ldap/LDAPSourceViewPage.ts b/web/src/pages/sources/ldap/LDAPSourceViewPage.ts index 83a7acfd1..a4dfe3e3a 100644 --- a/web/src/pages/sources/ldap/LDAPSourceViewPage.ts +++ b/web/src/pages/sources/ldap/LDAPSourceViewPage.ts @@ -24,7 +24,7 @@ import PFPage from "@patternfly/patternfly/components/Page/page.css"; import PFGrid from "@patternfly/patternfly/layouts/Grid/grid.css"; import PFBase from "@patternfly/patternfly/patternfly-base.css"; -import { LDAPSource, SourcesApi, StatusEnum } from "@goauthentik/api"; +import { LDAPSource, SourcesApi, TaskStatusEnum } from "@goauthentik/api"; @customElement("ak-source-ldap-view") export class LDAPSourceViewPage extends LitElement { @@ -145,9 +145,9 @@ export class LDAPSourceViewPage extends LitElement { return html`