Merge remote-tracking branch 'refs/remotes/origin/application-wizard-2-with-api-and-tests' into application-wizard-2-with-api-and-tests

* refs/remotes/origin/application-wizard-2-with-api-and-tests:
  fix lint errors
  SCIM Manuel -> SCIM
  fix label in dark mode
This commit is contained in:
Ken Sternberg 2023-10-09 15:03:00 -07:00
commit 2e16e70342
3 changed files with 3 additions and 9 deletions

View File

@ -21,9 +21,6 @@ export const styles = [
PFFormControl, PFFormControl,
PFSwitch, PFSwitch,
css` css`
.pf-c-radio__label {
color: #212427;
}
select[multiple] { select[multiple] {
height: 15em; height: 15em;
} }

View File

@ -64,7 +64,6 @@ const _providerModelsTable: ProviderType[] = [
...(provider as ProxyProviderRequest), ...(provider as ProxyProviderRequest),
mode: ProxyMode.Proxy, mode: ProxyMode.Proxy,
}), }),
], ],
[ [
"proxyprovider-forwardsingle", "proxyprovider-forwardsingle",
@ -90,7 +89,6 @@ const _providerModelsTable: ProviderType[] = [
...(provider as ProxyProviderRequest), ...(provider as ProxyProviderRequest),
mode: ProxyMode.ForwardDomain, mode: ProxyMode.ForwardDomain,
}), }),
], ],
[ [
"samlprovider", "samlprovider",
@ -118,7 +116,7 @@ const _providerModelsTable: ProviderType[] = [
], ],
[ [
"scimprovider", "scimprovider",
msg("SCIM Manual configuration"), msg("SCIM configuration"),
msg("Configure SCIM provider manually"), msg("Configure SCIM provider manually"),
() => html`<ak-application-wizard-authentication-by-scim></ak-application-wizard-authentication-by-scim>`, () => html`<ak-application-wizard-authentication-by-scim></ak-application-wizard-authentication-by-scim>`,
ProviderModelEnum.ScimScimprovider, ProviderModelEnum.ScimScimprovider,

View File

@ -20,11 +20,10 @@ import PFBullseye from "@patternfly/patternfly/layouts/Bullseye/bullseye.css";
import { import {
ApplicationRequest, ApplicationRequest,
CoreApi, CoreApi,
ProxyMode,
TransactionApplicationRequest, TransactionApplicationRequest,
TransactionApplicationResponse, TransactionApplicationResponse,
} from "@goauthentik/api"; } from "@goauthentik/api";
import type { ModelRequest } from "@goauthentik/api"; import type { ModelRequest, ResponseError } from "@goauthentik/api";
import BasePanel from "../BasePanel"; import BasePanel from "../BasePanel";
import providerModelsList from "../auth-method-choice/ak-application-wizard-authentication-method-choice.choices"; import providerModelsList from "../auth-method-choice/ak-application-wizard-authentication-method-choice.choices";
@ -155,8 +154,8 @@ export class ApplicationWizardCommitApplication extends BasePanel {
.catch((resolution: any) => { .catch((resolution: any) => {
resolution.response.json().then((body: Record<string, any>) => { resolution.response.json().then((body: Record<string, any>) => {
this.errors = this.decodeErrors(body); this.errors = this.decodeErrors(body);
this.commitState = errorState;
}); });
this.commitState = errorState;
}); });
} }