From 0fe3282828e73fc95d0cef4b855a54ec24aa8a9b Mon Sep 17 00:00:00 2001
From: AAGaming <aa@mail.catvibers.me>
Date: Sat, 31 Dec 2022 22:52:37 -0500
Subject: make that actually work lol

---
 frontend/src/menu-hook.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'frontend/src/menu-hook.tsx')

diff --git a/frontend/src/menu-hook.tsx b/frontend/src/menu-hook.tsx
index 347084e4..ad09bc38 100644
--- a/frontend/src/menu-hook.tsx
+++ b/frontend/src/menu-hook.tsx
@@ -131,7 +131,7 @@ class MenuHook extends Logger {
                 itemList[index] = replaced;
                 toReplace.delete(item?.props.route as string);
               }
-              if (item?.props?.route && itemPatches.has(item.props.route as string)) {
+              if (item?.props?.route && (itemPatches.has(item.props.route as string) || itemPatches.has('*'))) {
                 toReplace.set(item?.props?.route as string, itemList[index]);
                 itemPatches.get(item.props.route as string)?.forEach((patch) => {
                   const oType = itemList[index].type;
-- 
cgit v1.2.3

