From 9c997fd85d873978f49e3f1d7e9fb5fed837b06b Mon Sep 17 00:00:00 2001 From: Sabda Yagra Date: Mon, 15 Dec 2025 15:32:10 +0700 Subject: [PATCH] fix: menu settings in satker approver --- lib/menus.ts | 72 ++++++++++++++++++++++++++-------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/lib/menus.ts b/lib/menus.ts index ed74c6f6..99dccd27 100644 --- a/lib/menus.ts +++ b/lib/menus.ts @@ -2876,42 +2876,42 @@ export function getMenuList(pathname: string, t: any): Group[] { ], }, - // { - // groupLabel: "", - // id: "settings", - // menus: [ - // { - // id: "settings", - // href: "/admin/settings", - // label: t("settings"), - // active: pathname.includes("/settinng"), - // icon: "material-symbols:settings", - // submenus: [ - // { - // href: "/admin/settings/banner", - // label: "Banner", - // active: pathname === "/admin/settings/banner", - // icon: "heroicons:arrow-trending-up", - // children: [], - // }, - // { - // href: "/admin/settings/popup", - // label: "Pop Up", - // active: pathname === "/admin/settings/popup", - // icon: "heroicons:arrow-trending-up", - // children: [], - // }, - // { - // href: "/admin/settings/iklan", - // label: "Iklan", - // active: pathname === "/admin/settings/iklan", - // icon: "heroicons:arrow-trending-up", - // children: [], - // }, - // ], - // }, - // ], - // }, + { + groupLabel: "", + id: "settings", + menus: [ + { + id: "settings", + href: "/admin/settings", + label: t("settings"), + active: pathname.includes("/settinng"), + icon: "material-symbols:settings", + submenus: [ + { + href: "/admin/settings/banner", + label: "Banner", + active: pathname === "/admin/settings/banner", + icon: "heroicons:arrow-trending-up", + children: [], + }, + { + href: "/admin/settings/popup", + label: "Pop Up", + active: pathname === "/admin/settings/popup", + icon: "heroicons:arrow-trending-up", + children: [], + }, + { + href: "/admin/settings/iklan", + label: "Iklan", + active: pathname === "/admin/settings/iklan", + icon: "heroicons:arrow-trending-up", + children: [], + }, + ], + }, + ], + }, ]; } else if (Number(userParentLevelId) == 771) { menusSelected = [