diff --git a/packages/console/src/pages/AuditLogDetails/index.tsx b/packages/console/src/pages/AuditLogDetails/index.tsx index 7c43d6ac7..ca5011f11 100644 --- a/packages/console/src/pages/AuditLogDetails/index.tsx +++ b/packages/console/src/pages/AuditLogDetails/index.tsx @@ -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}`;