feat: made audit log options back

This commit is contained in:
Akhil Mohan
2023-09-22 22:07:48 +05:30
parent 01d3d84b40
commit 3c6c1891a8
2 changed files with 9 additions and 2 deletions
+2 -2
View File
@@ -487,7 +487,7 @@ export const AppLayout = ({ children }: LayoutProps) => {
</MenuItem> </MenuItem>
</a> </a>
</Link> </Link>
{/* <Link href={`/project/${currentWorkspace?._id}/audit-logs`} passHref> <Link href={`/project/${currentWorkspace?._id}/audit-logs`} passHref>
<a> <a>
<MenuItem <MenuItem
isSelected={ isSelected={
@@ -498,7 +498,7 @@ export const AppLayout = ({ children }: LayoutProps) => {
Audit Logs Audit Logs
</MenuItem> </MenuItem>
</a> </a>
</Link> */} </Link>
<Link href={`/project/${currentWorkspace?._id}/settings`} passHref> <Link href={`/project/${currentWorkspace?._id}/settings`} passHref>
<a> <a>
<MenuItem <MenuItem
@@ -3,6 +3,7 @@ import { faElementor } from "@fortawesome/free-brands-svg-icons";
import { import {
faAnchorLock, faAnchorLock,
faArrowLeft, faArrowLeft,
faBook,
faCog, faCog,
faKey, faKey,
faLock, faLock,
@@ -82,6 +83,12 @@ const SINGLE_PERMISSION_LIST = [
icon: faTags, icon: faTags,
formName: "tags" formName: "tags"
}, },
{
title: "Audit Logs",
subtitle: "Audit log management control",
icon: faBook,
formName: "audit-logs"
},
{ {
title: "IP Allowlist", title: "IP Allowlist",
subtitle: "IP allowlist management control", subtitle: "IP allowlist management control",