Fix linting issues
Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
This commit is contained in:
parent
eedfd0ef51
commit
df4b6c871d
9 changed files with 16 additions and 16 deletions
|
@ -120,7 +120,7 @@ export const Oid4Vci = () => {
|
||||||
<img
|
<img
|
||||||
width="500"
|
width="500"
|
||||||
height="500"
|
height="500"
|
||||||
src={`${qrCode}`}
|
src={qrCode}
|
||||||
data-testid="qr-code"
|
data-testid="qr-code"
|
||||||
/>
|
/>
|
||||||
</ActionListItem>
|
</ActionListItem>
|
||||||
|
|
|
@ -25,7 +25,7 @@ export const DecisionStrategySelect = ({
|
||||||
label={t("decisionStrategy")}
|
label={t("decisionStrategy")}
|
||||||
labelIcon={
|
labelIcon={
|
||||||
<HelpItem
|
<HelpItem
|
||||||
helpText={t(`${helpLabel || "decisionStrategyHelp"}`)}
|
helpText={t(helpLabel || "decisionStrategyHelp")}
|
||||||
fieldLabelId="decisionStrategy"
|
fieldLabelId="decisionStrategy"
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@ const adminGuide =
|
||||||
const keycloakHomepageURL = "https://www.keycloak.org";
|
const keycloakHomepageURL = "https://www.keycloak.org";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
documentationUrl: `${adminGuide}`,
|
documentationUrl: adminGuide,
|
||||||
clientsUrl: `${adminGuide}#assembly-managing-clients_server_administration_guide`,
|
clientsUrl: `${adminGuide}#assembly-managing-clients_server_administration_guide`,
|
||||||
clientScopesUrl: `${adminGuide}#_client_scopes`,
|
clientScopesUrl: `${adminGuide}#_client_scopes`,
|
||||||
realmRolesUrl: `${adminGuide}#assigning-permissions-using-roles-and-groups`,
|
realmRolesUrl: `${adminGuide}#assigning-permissions-using-roles-and-groups`,
|
||||||
|
|
|
@ -121,7 +121,7 @@ const Fields = ({ readOnly }: DiscoverySettingsProps) => {
|
||||||
}}
|
}}
|
||||||
options={PKCE_METHODS.map((option) => ({
|
options={PKCE_METHODS.map((option) => ({
|
||||||
key: option,
|
key: option,
|
||||||
value: t(`${option}`),
|
value: t(option),
|
||||||
}))}
|
}))}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|
|
@ -86,7 +86,7 @@ export const RealmSettingsThemesTab = ({
|
||||||
key={`login-theme-${idx}`}
|
key={`login-theme-${idx}`}
|
||||||
value={theme.name}
|
value={theme.name}
|
||||||
>
|
>
|
||||||
{t(`${theme.name}`)}
|
{t(theme.name)}
|
||||||
</SelectOption>
|
</SelectOption>
|
||||||
))}
|
))}
|
||||||
</KeycloakSelect>
|
</KeycloakSelect>
|
||||||
|
@ -130,7 +130,7 @@ export const RealmSettingsThemesTab = ({
|
||||||
key={`account-theme-${idx}`}
|
key={`account-theme-${idx}`}
|
||||||
value={theme.name}
|
value={theme.name}
|
||||||
>
|
>
|
||||||
{t(`${theme.name}`)}
|
{t(theme.name)}
|
||||||
</SelectOption>
|
</SelectOption>
|
||||||
))}
|
))}
|
||||||
</KeycloakSelect>
|
</KeycloakSelect>
|
||||||
|
@ -174,7 +174,7 @@ export const RealmSettingsThemesTab = ({
|
||||||
key={`admin-theme-${idx}`}
|
key={`admin-theme-${idx}`}
|
||||||
value={theme.name}
|
value={theme.name}
|
||||||
>
|
>
|
||||||
{t(`${theme.name}`)}
|
{t(theme.name)}
|
||||||
</SelectOption>
|
</SelectOption>
|
||||||
))}
|
))}
|
||||||
</KeycloakSelect>
|
</KeycloakSelect>
|
||||||
|
@ -216,7 +216,7 @@ export const RealmSettingsThemesTab = ({
|
||||||
key={`email-theme-${idx}`}
|
key={`email-theme-${idx}`}
|
||||||
value={theme.name}
|
value={theme.name}
|
||||||
>
|
>
|
||||||
{t(`${theme.name}`)}
|
{t(theme.name)}
|
||||||
</SelectOption>
|
</SelectOption>
|
||||||
))}
|
))}
|
||||||
</KeycloakSelect>
|
</KeycloakSelect>
|
||||||
|
|
|
@ -66,7 +66,7 @@ export default function UserFederationKerberosSettings() {
|
||||||
);
|
);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
addError(
|
addError(
|
||||||
`${!id ? "createUserProviderError" : "userProviderSaveError"}`,
|
!id ? "createUserProviderError" : "userProviderSaveError",
|
||||||
error,
|
error,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -158,8 +158,8 @@ export default function UserFederationSection() {
|
||||||
footerText={toUpperCase(userFederation.providerId!)}
|
footerText={toUpperCase(userFederation.providerId!)}
|
||||||
labelText={
|
labelText={
|
||||||
userFederation.config?.["enabled"]?.[0] !== "false"
|
userFederation.config?.["enabled"]?.[0] !== "false"
|
||||||
? `${t("enabled")}`
|
? t("enabled")
|
||||||
: `${t("disabled")}`
|
: t("disabled")
|
||||||
}
|
}
|
||||||
labelColor={
|
labelColor={
|
||||||
userFederation.config?.["enabled"]?.[0] !== "false"
|
userFederation.config?.["enabled"]?.[0] !== "false"
|
||||||
|
|
|
@ -96,7 +96,7 @@ export default function CustomProviderSettings() {
|
||||||
);
|
);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
addError(
|
addError(
|
||||||
`${!id ? "createUserProviderError" : "userProviderSaveError"}`,
|
!id ? "createUserProviderError" : "userProviderSaveError",
|
||||||
error,
|
error,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,8 +31,8 @@ const CacheFields = ({ form }: { form: UseFormReturn }) => {
|
||||||
});
|
});
|
||||||
|
|
||||||
const hourOptions = [
|
const hourOptions = [
|
||||||
<SelectOption key={0} value={[`${0}`]}>
|
<SelectOption key={0} value={[`0`]}>
|
||||||
{[`0${0}`]}
|
{[`00`]}
|
||||||
</SelectOption>,
|
</SelectOption>,
|
||||||
];
|
];
|
||||||
let hourDisplay = "";
|
let hourDisplay = "";
|
||||||
|
@ -50,8 +50,8 @@ const CacheFields = ({ form }: { form: UseFormReturn }) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const minuteOptions = [
|
const minuteOptions = [
|
||||||
<SelectOption key={0} value={[`${0}`]}>
|
<SelectOption key={0} value={[`0`]}>
|
||||||
{[`0${0}`]}
|
{[`00`]}
|
||||||
</SelectOption>,
|
</SelectOption>,
|
||||||
];
|
];
|
||||||
let minuteDisplay = "";
|
let minuteDisplay = "";
|
||||||
|
|
Loading…
Reference in a new issue