test
This commit is contained in:
@@ -14,21 +14,28 @@ export interface menu {
|
||||
disabled?: boolean;
|
||||
type?: string;
|
||||
subCaption?: string;
|
||||
role?: string[];
|
||||
permission?: string[];
|
||||
}
|
||||
const sidebarItem: menu[] = [
|
||||
{
|
||||
header: 'dashboards',
|
||||
header: "dashboards",
|
||||
id: 1,
|
||||
children: [
|
||||
|
||||
children: [
|
||||
{
|
||||
title: 'Dashboard1',
|
||||
icon: 'widget-add-line-duotone',
|
||||
to: '/dashboards/dashboard1'
|
||||
to: '/dashboards/dashboard1',
|
||||
// role: ['admin'],
|
||||
//permission: ['view', 'update', 'create', 'delete'],
|
||||
},
|
||||
{
|
||||
title: 'Dashboard2',
|
||||
icon: 'chart-line-duotone',
|
||||
to: '/dashboards/dashboard2'
|
||||
to: '/dashboards/dashboard2',
|
||||
// role: ['admin','user'],
|
||||
//permission: ['view', 'update', 'create', 'delete'],
|
||||
},
|
||||
{
|
||||
title: 'Dashboard3',
|
||||
@@ -42,11 +49,15 @@ const sidebarItem: menu[] = [
|
||||
children: [
|
||||
{
|
||||
title: 'Homepage',
|
||||
to: '/front-page/homepage'
|
||||
to: '/front-page/homepage',
|
||||
//role: ['admin','user'],
|
||||
//permission: ['view', 'update', 'create', 'delete'],
|
||||
},
|
||||
{
|
||||
title: 'About Us',
|
||||
to: '/front-page/about-us'
|
||||
to: '/front-page/about-us',
|
||||
//role: ['admin','user'],
|
||||
//permission: ['view', 'update', 'create', 'delete'],
|
||||
},
|
||||
{
|
||||
title: 'Blog',
|
||||
|
||||
Reference in New Issue
Block a user