Skip to content

Commit

Permalink
Merge pull request #129 from terminusdb/fix_change_request
Browse files Browse the repository at this point in the history
fix invitation
  • Loading branch information
KittyJose committed Feb 14, 2023
2 parents 046e17a + ee5074d commit e017841
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/tdb-dashboard/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ export function App (props){
// we have this loading only in terminusX, it is auth0 information/login loading
const {loading} = clientUser

if (clientUser.firstLogin === true) {
if (clientUser.firstLogin === true && window.location.pathname.indexOf("/invite/") === -1) {
clientUser.firstLogin = false

// navigate(`/${PLANS}`)
//only if the user is not invited in a team
window.location.replace(`/${PLANS}`)

}
Expand Down

0 comments on commit e017841

Please sign in to comment.