fix: menu path

This commit is contained in:
hanif salafi 2025-10-07 14:35:15 +07:00
parent 155baef80b
commit 8775d1a999
1 changed files with 2 additions and 2 deletions

View File

@ -79,14 +79,14 @@ export function getMenuList(pathname: string, t: any): Group[] {
{
href: "/admin/content/video",
label: t("video"),
active: pathname.includes("/content/video"),
active: pathname.includes("/content/audio-visual"),
icon: "line-md:youtube",
children: [],
},
{
href: "/admin/content/teks",
label: t("text"),
active: pathname.includes("/content/teks"),
active: pathname.includes("/content/document"),
icon: "heroicons:document",
children: [],
},