Move 'Sessions' tab before 'Permissions' tab (#2725)
This commit is contained in:
parent
49b0170952
commit
a7719d1ace
1 changed files with 8 additions and 8 deletions
|
@ -611,6 +611,14 @@ export default function ClientDetails() {
|
|||
<ServiceAccount client={client} />
|
||||
</Tab>
|
||||
)}
|
||||
<Tab
|
||||
id="sessions"
|
||||
data-testid="sessionsTab"
|
||||
title={<TabTitleText>{t("sessions")}</TabTitleText>}
|
||||
{...route("sessions")}
|
||||
>
|
||||
<ClientSessions client={client} />
|
||||
</Tab>
|
||||
{permissionsEnabled && (hasManageClients || client.access?.manage) && (
|
||||
<Tab
|
||||
id="permissions"
|
||||
|
@ -629,14 +637,6 @@ export default function ClientDetails() {
|
|||
>
|
||||
<AdvancedTab save={save} client={client} />
|
||||
</Tab>
|
||||
<Tab
|
||||
id="sessions"
|
||||
data-testid="sessionsTab"
|
||||
title={<TabTitleText>{t("sessions")}</TabTitleText>}
|
||||
{...route("sessions")}
|
||||
>
|
||||
<ClientSessions client={client} />
|
||||
</Tab>
|
||||
</RoutableTabs>
|
||||
</FormProvider>
|
||||
</PageSection>
|
||||
|
|
Loading…
Reference in a new issue