Skip to content

Commit 78ac569

Browse files
committed
Add Access Control to sidebar navigation
1 parent 69d8d3d commit 78ac569

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/components/layouts/main/sider/sidebarNavigation.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useMemo } from 'react';
2-
import { DashboardOutlined, TableOutlined } from '@ant-design/icons';
2+
import { DashboardOutlined, TableOutlined, StopOutlined, FlagOutlined } from '@ant-design/icons';
33
import { ReactComponent as NestIcon } from '@app/assets/icons/hive.svg';
44
import { ReactComponent as BtcIcon } from '@app/assets/icons/btc.svg';
55
import { ReactComponent as StatsIcon } from '@app/assets/icons/stats.svg';
@@ -31,6 +31,12 @@ export const useSidebarNavigation = (): SidebarNavigationItem[] => {
3131
url: '/relay-settings',
3232
icon: <StorageSettingsIcon />,
3333
},
34+
{
35+
title: 'Access Control',
36+
key: 'blocked-pubkeys',
37+
url: '/blocked-pubkeys',
38+
icon: <StopOutlined />,
39+
},
3440
{
3541
title: 'Nostr Statistics',
3642
key: 'dataTables',

0 commit comments

Comments
 (0)