mirror of
https://github.com/inventree/InvenTree.git
synced 2026-04-14 23:38:53 +00:00
@@ -221,7 +221,9 @@ export function Header() {
|
||||
</Group>
|
||||
</Group>
|
||||
</Container>
|
||||
{showElevated && (user?.is_superuser || user?.is_staff) && (
|
||||
{showSuperuserAlert &&
|
||||
showElevated &&
|
||||
(user?.is_superuser || user?.is_staff) && (
|
||||
<Paper p={0} m={5}>
|
||||
<Alert
|
||||
icon={<IconUserBolt />}
|
||||
|
||||
Reference in New Issue
Block a user