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 (
|
||||
<li className={'px-3 py-1.5'}>
|
||||
{item.withDevider && <hr className={`${borders} mb-3`} />}
|
||||
{item.withDivider && <hr className={`${borders} mb-3`} />}
|
||||
{item.href && (
|
||||
<Link href={item.href} target={item.target} className={componentClass}>
|
||||
{asideMenuItemInnerContents}
|
||||
|
||||
@ -11,7 +11,7 @@ export type MenuAsideItem = {
|
||||
target?: string;
|
||||
color?: ColorButtonKey;
|
||||
isLogout?: boolean;
|
||||
withDevider?: boolean;
|
||||
withDivider?: boolean;
|
||||
isSectionHeader?: boolean;
|
||||
|
||||
menu?: MenuAsideItem[];
|
||||
|
||||
@ -47,7 +47,7 @@ const menuAside: MenuAsideItem[] = [
|
||||
icon: icon.mdiAccountCircle,
|
||||
},
|
||||
|
||||
{ withDevider: true, permissions: 'READ_USERS' },
|
||||
{ withDivider: true, permissions: 'READ_USERS' },
|
||||
{ label: 'System Settings', isSectionHeader: true, permissions: 'READ_USERS' },
|
||||
{
|
||||
href: '/api-docs',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user