0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00

fix(console): navigate to log details page on user log clicked (#3026)

This commit is contained in:
Xiao Yijun 2023-01-31 18:06:09 +08:00 committed by GitHub
parent 031a2c69de
commit 652065a760
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -111,10 +111,9 @@ const Main = () => {
<Route index element={<Navigate replace to={UserDetailsTabs.Settings} />} />
<Route path={UserDetailsTabs.Settings} element={<UserSettings />} />
<Route path={UserDetailsTabs.Roles} element={<UserRoles />} />
<Route path={UserDetailsTabs.Logs} element={<UserLogs />}>
<Route path=":logId" element={<AuditLogDetails />} />
</Route>
<Route path={UserDetailsTabs.Logs} element={<UserLogs />} />
</Route>
<Route path={`:id/${UserDetailsTabs.Logs}/:logId`} element={<AuditLogDetails />} />
</Route>
<Route path="audit-logs">
<Route index element={<AuditLogs />} />