diff options
Diffstat (limited to 'frontend/src/menu-hook.tsx')
| -rw-r--r-- | frontend/src/menu-hook.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
