Skip to content

Commit

Permalink
feat(routing): overview page after login
Browse files Browse the repository at this point in the history
  • Loading branch information
koepferd committed Oct 8, 2024
1 parent eb96843 commit 3074ebc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/components/app/Routing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -384,10 +384,9 @@ export const Routing = (props: RoutingProps) => {
<Redirect
from="*"
to={
'/sessions/' +
(hasUserAuthority(AUTHORITIES.CONSULTANT_DEFAULT, userData)
? 'consultant/sessionPreview'
: 'user/view')
hasUserAuthority(AUTHORITIES.CONSULTANT_DEFAULT, userData)
? '/overview'
: '/sessions/user/view'
}
/>
</Switch>
Expand Down

0 comments on commit 3074ebc

Please sign in to comment.