Don't render create header when editing

This commit is contained in:
Erik Jan de Wit 2022-05-10 08:08:36 +02:00 committed by Jon Koops
parent 0a8a49c397
commit b8569db87c

View file

@ -35,7 +35,7 @@ export const RealmRoleForm = ({
return ( return (
<> <>
<ViewHeader titleKey={t("createRole")} /> {!editMode && <ViewHeader titleKey={t("createRole")} />}
<PageSection variant="light"> <PageSection variant="light">
<FormAccess <FormAccess
isHorizontal isHorizontal