diff --git a/web/src/admin/groups/RelatedUserList.ts b/web/src/admin/groups/RelatedUserList.ts index 04099f994..e140dd42b 100644 --- a/web/src/admin/groups/RelatedUserList.ts +++ b/web/src/admin/groups/RelatedUserList.ts @@ -110,9 +110,7 @@ export class RelatedUserAdd extends Form<{ users: number[] }> { } @customElement("ak-user-related-list") -export class RelatedUserList extends WithBrandConfig( - WithCapabilitiesConfig(Table, true), -) { +export class RelatedUserList extends WithBrandConfig(WithCapabilitiesConfig(Table)) { expandable = true; checkbox = true; diff --git a/web/src/admin/providers/ldap/LDAPProviderForm.ts b/web/src/admin/providers/ldap/LDAPProviderForm.ts index 1b63dc2c7..983319174 100644 --- a/web/src/admin/providers/ldap/LDAPProviderForm.ts +++ b/web/src/admin/providers/ldap/LDAPProviderForm.ts @@ -25,7 +25,7 @@ import { } from "@goauthentik/api"; @customElement("ak-provider-ldap-form") -export class LDAPProviderFormPage extends WithBrandConfig(ModelForm, true) { +export class LDAPProviderFormPage extends WithBrandConfig(ModelForm) { async loadInstance(pk: number): Promise { return new ProvidersApi(DEFAULT_CONFIG).providersLdapRetrieve({ id: pk, diff --git a/web/src/admin/providers/radius/RadiusProviderForm.ts b/web/src/admin/providers/radius/RadiusProviderForm.ts index c117e463c..1c62e0764 100644 --- a/web/src/admin/providers/radius/RadiusProviderForm.ts +++ b/web/src/admin/providers/radius/RadiusProviderForm.ts @@ -14,10 +14,7 @@ import { customElement } from "lit/decorators.js"; import { FlowsInstancesListDesignationEnum, ProvidersApi, RadiusProvider } from "@goauthentik/api"; @customElement("ak-provider-radius-form") -export class RadiusProviderFormPage extends WithBrandConfig( - ModelForm, - true, -) { +export class RadiusProviderFormPage extends WithBrandConfig(ModelForm) { loadInstance(pk: number): Promise { return new ProvidersApi(DEFAULT_CONFIG).providersRadiusRetrieve({ id: pk, diff --git a/web/src/admin/users/UserListPage.ts b/web/src/admin/users/UserListPage.ts index 9b10b2648..fff7b078d 100644 --- a/web/src/admin/users/UserListPage.ts +++ b/web/src/admin/users/UserListPage.ts @@ -91,8 +91,7 @@ const recoveryButtonStyles = css` `; @customElement("ak-user-list") -export class UserListPage extends WithBrandConfig( - WithCapabilitiesConfig(TablePage, true)) { +export class UserListPage extends WithBrandConfig(WithCapabilitiesConfig(TablePage)) { expandable = true; checkbox = true; diff --git a/web/src/elements/Interface/authentikConfigProvider.ts b/web/src/elements/Interface/authentikConfigProvider.ts index 169ec82a0..5b2027fd0 100644 --- a/web/src/elements/Interface/authentikConfigProvider.ts +++ b/web/src/elements/Interface/authentikConfigProvider.ts @@ -10,7 +10,7 @@ type Constructor = new (...args: any[]) => T; export function WithAuthentikConfig>( superclass: T, - subscribe = false, + subscribe = true, ) { abstract class WithAkConfigProvider extends superclass { @consume({ context: authentikConfigContext, subscribe }) diff --git a/web/src/elements/Interface/capabilitiesProvider.ts b/web/src/elements/Interface/capabilitiesProvider.ts index cf2740d9c..402653880 100644 --- a/web/src/elements/Interface/capabilitiesProvider.ts +++ b/web/src/elements/Interface/capabilitiesProvider.ts @@ -47,7 +47,7 @@ class WCC { export function WithCapabilitiesConfig>( superclass: T, - subscribe = false, + subscribe = true, ) { abstract class CapabilitiesContext extends superclass { @consume({ context: authentikConfigContext, subscribe }) diff --git a/web/src/user/user-settings/details/UserSettingsFlowExecutor.ts b/web/src/user/user-settings/details/UserSettingsFlowExecutor.ts index af6eee33c..8c67db4e3 100644 --- a/web/src/user/user-settings/details/UserSettingsFlowExecutor.ts +++ b/web/src/user/user-settings/details/UserSettingsFlowExecutor.ts @@ -31,10 +31,7 @@ import { } from "@goauthentik/api"; @customElement("ak-user-settings-flow-executor") -export class UserSettingsFlowExecutor - extends WithBrandConfig(AKElement) - implements StageHost -{ +export class UserSettingsFlowExecutor extends WithBrandConfig(AKElement) implements StageHost { @property() flowSlug?: string;