mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
fix(console): fix the back link of the log details page (#3805)
This commit is contained in:
parent
5f4a323d26
commit
cd19ff8bf5
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ import EventIcon from './components/EventIcon';
|
|||
import * as styles from './index.module.scss';
|
||||
|
||||
const getAuditLogDetailsRelatedResourceLink = (pathname: string) =>
|
||||
`/${pathname.slice(0, pathname.lastIndexOf('/'))}`;
|
||||
`${pathname.slice(0, pathname.lastIndexOf('/'))}`;
|
||||
|
||||
const getDetailsTabNavLink = (logId: string, userId?: string) =>
|
||||
userId ? `/users/${userId}/logs/${logId}` : `/audit-logs/${logId}`;
|
||||
|
|
Loading…
Reference in a new issue