Skip to content

Commit 4bf447e

Browse files
committed
PROD-2010 - Navigating to the Work Dashboard from the Tools Menu Doesn't updated Active tab
1 parent c71a516 commit 4bf447e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src-ts/lib/tabs-navbar/TabsNavbar.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ const TabsNavbar: FC<TabsNavbarProps> = (props: TabsNavbarProps) => {
5959
if (initialTab && props.tabs.find(tab => tab.id === initialTab)) {
6060
handleActivateTab(initialTab)
6161
} else if (props.defaultActive) {
62+
setTabOpened(props.defaultActive)
6263
updateOffset(props.defaultActive)
6364
}
6465
}, [handleActivateTab, props.defaultActive])

0 commit comments

Comments
 (0)