fix: menu settings in satker approver

This commit is contained in:
Sabda Yagra 2025-12-15 15:32:10 +07:00
parent 54ae4eeb37
commit 9c997fd85d
1 changed files with 36 additions and 36 deletions

View File

@ -2876,42 +2876,42 @@ export function getMenuList(pathname: string, t: any): Group[] {
], ],
}, },
// { {
// groupLabel: "", groupLabel: "",
// id: "settings", id: "settings",
// menus: [ menus: [
// { {
// id: "settings", id: "settings",
// href: "/admin/settings", href: "/admin/settings",
// label: t("settings"), label: t("settings"),
// active: pathname.includes("/settinng"), active: pathname.includes("/settinng"),
// icon: "material-symbols:settings", icon: "material-symbols:settings",
// submenus: [ submenus: [
// { {
// href: "/admin/settings/banner", href: "/admin/settings/banner",
// label: "Banner", label: "Banner",
// active: pathname === "/admin/settings/banner", active: pathname === "/admin/settings/banner",
// icon: "heroicons:arrow-trending-up", icon: "heroicons:arrow-trending-up",
// children: [], children: [],
// }, },
// { {
// href: "/admin/settings/popup", href: "/admin/settings/popup",
// label: "Pop Up", label: "Pop Up",
// active: pathname === "/admin/settings/popup", active: pathname === "/admin/settings/popup",
// icon: "heroicons:arrow-trending-up", icon: "heroicons:arrow-trending-up",
// children: [], children: [],
// }, },
// { {
// href: "/admin/settings/iklan", href: "/admin/settings/iklan",
// label: "Iklan", label: "Iklan",
// active: pathname === "/admin/settings/iklan", active: pathname === "/admin/settings/iklan",
// icon: "heroicons:arrow-trending-up", icon: "heroicons:arrow-trending-up",
// children: [], children: [],
// }, },
// ], ],
// }, },
// ], ],
// }, },
]; ];
} else if (Number(userParentLevelId) == 771) { } else if (Number(userParentLevelId) == 771) {
menusSelected = [ menusSelected = [