fix: alert that certain fields in user settings are disabled is always shown (#928)
* fix: alert that certain fields in user settings are disabled is always shown * fix: wrong inverted check
This commit is contained in:
@@ -58,9 +58,11 @@ export default async function EditUserPage({ params }: Props) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Stack>
|
<Stack>
|
||||||
<Alert variant="light" color="yellow" icon={<IconExclamationCircle size="1rem" stroke={1.5} />}>
|
{!isCredentialsUser && (
|
||||||
{t("management.page.user.fieldsDisabledExternalProvider")}
|
<Alert variant="light" color="yellow" icon={<IconExclamationCircle size="1rem" stroke={1.5} />}>
|
||||||
</Alert>
|
{t("management.page.user.fieldsDisabledExternalProvider")}
|
||||||
|
</Alert>
|
||||||
|
)}
|
||||||
|
|
||||||
<Title>{tGeneral("title")}</Title>
|
<Title>{tGeneral("title")}</Title>
|
||||||
<Group gap="xl">
|
<Group gap="xl">
|
||||||
|
|||||||
Reference in New Issue
Block a user