refactor user accounts structure
This commit is contained in:
@@ -1,2 +1 @@
|
||||
export * from './defaultData.const';
|
||||
export * from './menuItems.const';
|
||||
|
||||
@@ -1,61 +0,0 @@
|
||||
import { MenuItem } from 'primeng/api';
|
||||
export const MENU_ITEMS = [
|
||||
{
|
||||
items: [
|
||||
{
|
||||
label: 'داشبورد',
|
||||
icon: 'pi pi-fw pi-home',
|
||||
routerLink: ['/dashboard'],
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
{
|
||||
label: 'مدیریت اطلاعات مرجع',
|
||||
icon: 'pi pi-fw pi-cog',
|
||||
items: [
|
||||
{
|
||||
label: 'برندهای دستگاه',
|
||||
icon: 'pi pi-fw pi-list',
|
||||
routerLink: ['/super_admin/device_brands'],
|
||||
},
|
||||
{
|
||||
label: 'دستگاهها',
|
||||
icon: 'pi pi-fw pi-list',
|
||||
routerLink: ['/super_admin/devices'],
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
{
|
||||
label: 'مدیریت سیستم',
|
||||
icon: 'pi pi-fw pi-cog',
|
||||
items: [
|
||||
{
|
||||
label: 'کاربران',
|
||||
icon: 'pi pi-fw pi-user',
|
||||
routerLink: ['/super_admin/users'],
|
||||
},
|
||||
{
|
||||
label: 'اصناف',
|
||||
icon: 'pi pi-fw pi-building',
|
||||
routerLink: ['/super_admin/guilds'],
|
||||
},
|
||||
{
|
||||
label: 'شرکای تجاری',
|
||||
icon: 'pi pi-fw pi-credit-card',
|
||||
routerLink: ['/super_admin/partners'],
|
||||
},
|
||||
{
|
||||
label: 'ارایهدهندگان',
|
||||
icon: 'pi pi-fw pi-credit-card',
|
||||
routerLink: ['/super_admin/providers'],
|
||||
},
|
||||
{
|
||||
label: 'لایسنسها',
|
||||
icon: 'pi pi-fw pi-credit-card',
|
||||
routerLink: ['/super_admin/licenses'],
|
||||
},
|
||||
],
|
||||
},
|
||||
] as MenuItem[];
|
||||
Reference in New Issue
Block a user