From 992e2e2ad3287243f5444f906f1cc7f55065cf5f Mon Sep 17 00:00:00 2001 From: Party Wumpus <48649272+PartyWumpus@users.noreply.github.com> Date: Thu, 15 Feb 2024 12:09:21 +0000 Subject: fix finding qam root node for feb 14th beta --- frontend/src/tabs-hook.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'frontend/src') diff --git a/frontend/src/tabs-hook.tsx b/frontend/src/tabs-hook.tsx index 56ff8f10..c6d889cb 100644 --- a/frontend/src/tabs-hook.tsx +++ b/frontend/src/tabs-hook.tsx @@ -40,7 +40,8 @@ class TabsHook extends Logger { return null; } if ( - typeof currentNode?.memoizedProps?.visible == 'boolean' && + (typeof currentNode?.memoizedProps?.visible == 'boolean' || + typeof currentNode?.memoizedProps?.active == 'boolean') && currentNode?.type?.toString()?.includes('QuickAccessMenuBrowserView') ) { this.log(`QAM root was found in ${iters} recursion cycles`); -- cgit v1.2.3