細部
This commit is contained in:
@@ -129,7 +129,7 @@ export default ({ user }: Props) => {
|
|||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<div className="hidden md:flex bg-yellow-200 dark:bg-red-950
|
<div className="hidden md:flex bg-yellow-200 dark:bg-red-950
|
||||||
items-center w-full min-h-[40px]">
|
items-center w-full min-h-[40px] px-3">
|
||||||
{menu.find (item => location.pathname.startsWith (item.base || item.to))?.subMenu
|
{menu.find (item => location.pathname.startsWith (item.base || item.to))?.subMenu
|
||||||
.filter (item => item.visible ?? true)
|
.filter (item => item.visible ?? true)
|
||||||
.map ((item, i) => 'component' in item ? item.component : (
|
.map ((item, i) => 'component' in item ? item.component : (
|
||||||
|
|||||||
Reference in New Issue
Block a user