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",
|
href: "/admin/content/video",
|
||||||
label: t("video"),
|
label: t("video"),
|
||||||
active: pathname.includes("/content/video"),
|
active: pathname.includes("/content/audio-visual"),
|
||||||
icon: "line-md:youtube",
|
icon: "line-md:youtube",
|
||||||
children: [],
|
children: [],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
href: "/admin/content/teks",
|
href: "/admin/content/teks",
|
||||||
label: t("text"),
|
label: t("text"),
|
||||||
active: pathname.includes("/content/teks"),
|
active: pathname.includes("/content/document"),
|
||||||
icon: "heroicons:document",
|
icon: "heroicons:document",
|
||||||
children: [],
|
children: [],
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue