feat: complete equipment handover workflow
This commit is contained in:
@@ -6,6 +6,7 @@ import {
|
||||
LayoutGrid,
|
||||
ListChecks,
|
||||
PackageSearch,
|
||||
PackageCheck,
|
||||
PlusCircle,
|
||||
ServerCog,
|
||||
ShieldCheck,
|
||||
@@ -71,16 +72,26 @@ export function AppSidebar() {
|
||||
},
|
||||
]
|
||||
: userNavItems;
|
||||
const visibleNavItems = can.administer
|
||||
const operationalNavItems = can.operateInventory
|
||||
? [
|
||||
...roleNavItems,
|
||||
{
|
||||
title: 'Operações',
|
||||
href: '/operacoes',
|
||||
icon: PackageCheck,
|
||||
},
|
||||
]
|
||||
: roleNavItems;
|
||||
const visibleNavItems = can.administer
|
||||
? [
|
||||
...operationalNavItems,
|
||||
{
|
||||
title: 'Integração Snipe-IT',
|
||||
href: '/administracao/snipe-it',
|
||||
icon: ServerCog,
|
||||
},
|
||||
]
|
||||
: roleNavItems;
|
||||
: operationalNavItems;
|
||||
|
||||
return (
|
||||
<Sidebar collapsible="icon" variant="inset">
|
||||
|
||||
Reference in New Issue
Block a user