We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 046e17a + ee5074d commit e017841Copy full SHA for e017841
packages/tdb-dashboard/src/App.js
@@ -37,10 +37,9 @@ export function App (props){
37
// we have this loading only in terminusX, it is auth0 information/login loading
38
const {loading} = clientUser
39
40
- if (clientUser.firstLogin === true) {
+ if (clientUser.firstLogin === true && window.location.pathname.indexOf("/invite/") === -1) {
41
clientUser.firstLogin = false
42
-
43
- // navigate(`/${PLANS}`)
+ //only if the user is not invited in a team
44
window.location.replace(`/${PLANS}`)
45
46
}
0 commit comments