small fix that fixes the realm settings test (#974)

This commit is contained in:
Erik Jan de Wit 2021-08-10 11:02:44 +02:00 committed by GitHub
parent ed33242b34
commit d15da05d54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -340,7 +340,7 @@ export const RealmSettingsSection = () => {
<TabTitleText>{t("realm-settings:sessions")}</TabTitleText>
}
>
<RealmSettingsSessionsTab key={key} realm={realm} />
{realm && <RealmSettingsSessionsTab key={key} realm={realm} />}
</Tab>
<Tab
id="tokens"