mirror of
https://github.com/diced/zipline.git
synced 2025-04-11 23:31:17 -05:00
fix: only show server-settings menu link for super-admins
This commit is contained in:
parent
586c17b320
commit
401861116d
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ export default function Layout({ children, config }: { children: React.ReactNode
|
|||
Settings
|
||||
</Menu.Item>
|
||||
|
||||
{isAdministrator(user?.role) && (
|
||||
{user?.role === 'SUPERADMIN' && (
|
||||
<Menu.Item
|
||||
leftSection={<IconAdjustments size='1rem' />}
|
||||
component={Link}
|
||||
|
|
Loading…
Add table
Reference in a new issue