Skip to content

Commit

Permalink
fix: Infinite loop 404 after leaving the organisation (#2957)
Browse files Browse the repository at this point in the history
Co-authored-by: Matthew Elwell <matthew.elwell@flagsmith.com>
  • Loading branch information
novakzaballa and matthewelwell authored Nov 13, 2023
1 parent eb360a7 commit 7b7f986
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/common/stores/project-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ const controller = {
})
.catch(() => {
if (!getIsWidget()) {
AsyncStorage.removeItem('lastEnv')
document.location.href = '/404?entity=project'
}
})
Expand Down

3 comments on commit 7b7f986

@vercel
Copy link

@vercel vercel bot commented on 7b7f986 Nov 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./docs

docs-git-main-flagsmith.vercel.app
docs-flagsmith.vercel.app
docs.flagsmith.com
docs.bullet-train.io

@vercel
Copy link

@vercel vercel bot commented on 7b7f986 Nov 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 7b7f986 Nov 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.