Skip to content

Commit

Permalink
refactor(app): add guard to profile page + back to home on the logo
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieuher committed Jan 9, 2025
1 parent ea1a23e commit bb7b668
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/app.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const routes: Routes = [
{
path: 'profile',
loadComponent: () => import('./pages/profile/profile.component').then(m => m.ProfileComponent),
canActivate: [AuthGuard]
canActivate: [AuthGuard, AvailableGuard]
},
{
path: 'ride-online',
Expand Down
1 change: 1 addition & 0 deletions src/app/common/components/toolbar/toolbar.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
class="small-logo"
src="./assets/logos/small_logo.png"
alt="RetroSki logo"
routerLink="/"
/>
</div>
<div class="right-actions-container">
Expand Down

0 comments on commit bb7b668

Please sign in to comment.