Renamed -withDevider- in code to correct spelling
This commit is contained in:
parent
a26cb30b3e
commit
0715330de5
File diff suppressed because one or more lines are too long
@ -95,7 +95,7 @@ const AsideMenuItem = ({ item, isDropdownList = false }: Props) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<li className={'px-3 py-1.5'}>
|
<li className={'px-3 py-1.5'}>
|
||||||
{item.withDevider && <hr className={`${borders} mb-3`} />}
|
{item.withDivider && <hr className={`${borders} mb-3`} />}
|
||||||
{item.href && (
|
{item.href && (
|
||||||
<Link href={item.href} target={item.target} className={componentClass}>
|
<Link href={item.href} target={item.target} className={componentClass}>
|
||||||
{asideMenuItemInnerContents}
|
{asideMenuItemInnerContents}
|
||||||
|
|||||||
@ -11,7 +11,7 @@ export type MenuAsideItem = {
|
|||||||
target?: string;
|
target?: string;
|
||||||
color?: ColorButtonKey;
|
color?: ColorButtonKey;
|
||||||
isLogout?: boolean;
|
isLogout?: boolean;
|
||||||
withDevider?: boolean;
|
withDivider?: boolean;
|
||||||
isSectionHeader?: boolean;
|
isSectionHeader?: boolean;
|
||||||
|
|
||||||
menu?: MenuAsideItem[];
|
menu?: MenuAsideItem[];
|
||||||
|
|||||||
@ -47,7 +47,7 @@ const menuAside: MenuAsideItem[] = [
|
|||||||
icon: icon.mdiAccountCircle,
|
icon: icon.mdiAccountCircle,
|
||||||
},
|
},
|
||||||
|
|
||||||
{ withDevider: true, permissions: 'READ_USERS' },
|
{ withDivider: true, permissions: 'READ_USERS' },
|
||||||
{ label: 'System Settings', isSectionHeader: true, permissions: 'READ_USERS' },
|
{ label: 'System Settings', isSectionHeader: true, permissions: 'READ_USERS' },
|
||||||
{
|
{
|
||||||
href: '/api-docs',
|
href: '/api-docs',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user