updated
This commit is contained in:
@@ -10,7 +10,6 @@ import { NavLink } from 'react-router-dom';
|
||||
|
||||
const AppSidebar = () => {
|
||||
const permissions = useStore().main.getPermissions();
|
||||
const role = useStore().main.getRole();
|
||||
|
||||
const items = [
|
||||
{
|
||||
@@ -31,21 +30,21 @@ const AppSidebar = () => {
|
||||
label: __('Domande in lavorazione', 'gepafin'),
|
||||
icon: 'pi pi-file',
|
||||
href: '/imieibandi',
|
||||
id: 11,
|
||||
id: 3,
|
||||
enable: intersection(permissions, ['APPLY_CALLS']).length
|
||||
},
|
||||
{
|
||||
label: __('Bandi disponibili', 'gepafin'),
|
||||
icon: 'pi pi-bookmark',
|
||||
href: '/bandi',
|
||||
id: 12,
|
||||
id: 4,
|
||||
enable: intersection(permissions, ['VIEW_CALLS']).length
|
||||
},
|
||||
{
|
||||
label: __('Gestione Utenti', 'gepafin'),
|
||||
icon: 'pi pi-users',
|
||||
//href: '/utenti',
|
||||
id: 3,
|
||||
href: '/utenti',
|
||||
id: 5,
|
||||
enable: false
|
||||
//enable: intersection(permissions, ['VIEW_USERS', 'MANAGE_USERS']).length
|
||||
},
|
||||
@@ -53,21 +52,21 @@ const AppSidebar = () => {
|
||||
label: __('Configurazione', 'gepafin'),
|
||||
icon: 'pi pi-cog',
|
||||
//href: '/configurazione',
|
||||
id: 4,
|
||||
id: 6,
|
||||
enable: false
|
||||
},
|
||||
{
|
||||
label: __('Report e Analisi', 'gepafin'),
|
||||
icon: 'pi pi-chart-bar',
|
||||
//href: '/stats',
|
||||
id: 5,
|
||||
id: 7,
|
||||
enable: false
|
||||
},
|
||||
{
|
||||
label: __('Log di Sistema', 'gepafin'),
|
||||
icon: 'pi pi-receipt',
|
||||
clickFn: () => {},
|
||||
id: 6,
|
||||
id: 8,
|
||||
enable: false
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user