Skip to content

Commit

Permalink
fix: login redirect (#4192)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-ssg authored Jun 20, 2024
1 parent e7fd8bd commit b0bc87a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/web/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ const App = class extends Component {
this.listenTo(OrganisationStore, 'change', () => this.forceUpdate())
this.listenTo(ProjectStore, 'change', () => this.forceUpdate())
this.listenTo(AccountStore, 'change', this.getOrganisationUsage)
if (AccountStore.model) {
this.onLogin()
}
this.getOrganisationUsage()
window.addEventListener('scroll', this.handleScroll)
const updateLastViewed = () => {
Expand Down

0 comments on commit b0bc87a

Please sign in to comment.