fix: menu path
This commit is contained in:
parent
155baef80b
commit
8775d1a999
|
|
@ -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: [],
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue