Skip to content

Commit

Permalink
[Frontend] Fix broken security screen (#7243)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kedae authored Jun 5, 2024
1 parent 4da1e98 commit 6a7d906
Showing 1 changed file with 6 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,12 @@ const Root = () => {
<Security
needs={[SETTINGS_SETACCESSES, VIRTUAL_ORGANIZATION_ADMIN]}
placeholder={
<Route
path="/"
element={
<Security
needs={[SETTINGS_SETMARKINGS]}
placeholder={<Navigate to="/dashboard/settings" />}
>
<Navigate to="/dashboard/settings/accesses/marking" />
</Security>
}
/>
<Security
needs={[SETTINGS_SETMARKINGS]}
placeholder={<Navigate to="/dashboard/settings" />}
>
<Navigate to="/dashboard/settings/accesses/marking" />
</Security>
}
>
<Navigate to={adminOrga ? '/dashboard/settings/accesses/organizations' : '/dashboard/settings/accesses/roles'} />
Expand Down

0 comments on commit 6a7d906

Please sign in to comment.