Skip to content

Commit e7da419

Browse files
committed
2196 client - Fix session fetch check to exclude embedded workflow builder scenarios
1 parent b637d0e commit e7da419

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

client/src/main.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,11 @@ async function renderApp() {
6464
init(applicationInfoStore.getState().helpHub.commandBar.orgId!);
6565
}
6666

67-
if (!publicRoutes.includes(window.location.pathname) && !authenticationStore.getState().sessionHasBeenFetched) {
67+
if (
68+
!isEmbeddedWorkflowBuilder &&
69+
!publicRoutes.includes(window.location.pathname) &&
70+
!authenticationStore.getState().sessionHasBeenFetched
71+
) {
6872
const result = await authenticationStore.getState().getAccount();
6973

7074
if (!result && window.location.pathname !== '/login') {

0 commit comments

Comments
 (0)