Skip to content

Commit

Permalink
Requested change on Welcome.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Hayata Suenaga <[email protected]>
Signed-off-by: Kacper Falat <[email protected]>
  • Loading branch information
fvlvte and Hayata Suenaga committed Oct 19, 2023
1 parent f973331 commit 69b495a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/Welcome.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ function show({routes, showCreateMenu = () => {}, showPopoverMenu = () => false}
const isWorkspaceRoute = topRoute !== undefined && topRoute.name === 'Settings' && topRoute.params?.path.includes('workspace');
const transitionRoute = routes.find((route) => route.name === SCREENS.TRANSITION_BETWEEN_APPS);
const exitingToWorkspaceRoute = transitionRoute?.params?.exitTo === 'workspace/new';
const openOnAdminRoom = topRoute === undefined ? undefined : topRoute.params?.openOnAdminRoom ?? false;
const openOnAdminRoom = topRoute?.params?.openOnAdminRoom ?? false;
const isDisplayingWorkspaceRoute = isWorkspaceRoute ?? exitingToWorkspaceRoute;

// If we already opened the workspace settings or want the admin room to stay open, do not
Expand Down

0 comments on commit 69b495a

Please sign in to comment.