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>
|
||||||
</Group>
|
</Group>
|
||||||
</Container>
|
</Container>
|
||||||
{showElevated && (user?.is_superuser || user?.is_staff) && (
|
{showSuperuserAlert &&
|
||||||
|
showElevated &&
|
||||||
|
(user?.is_superuser || user?.is_staff) && (
|
||||||
<Paper p={0} m={5}>
|
<Paper p={0} m={5}>
|
||||||
<Alert
|
<Alert
|
||||||
icon={<IconUserBolt />}
|
icon={<IconUserBolt />}
|
||||||
|
|||||||
Reference in New Issue
Block a user