Renamed -withDevider- in code to correct spelling

This commit is contained in:
Flatlogic Bot 2025-07-03 00:53:24 +00:00
parent a26cb30b3e
commit 0715330de5
4 changed files with 5 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -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}

View File

@ -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[];

View File

@ -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',