Skip to content

Commit 5c10ff5

Browse files
committed
fix(user-menu) - dashboard link, plus left navigation menu
1 parent 537fe4c commit 5c10ff5

2 files changed

Lines changed: 3 additions & 10 deletions

File tree

apps/codever-ui/src/app/app.component.html

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
>
1616
<i class="fas fa-home mr-1"></i> Home
1717
</a>
18-
<a
18+
<a *ngIf="!userIsLoggedIn"
1919
class="list-group-item list-group-item-action bg-light"
2020
title="Get started, save & search bookmarks"
2121
[routerLink]="['/howto']"
2222
>
2323
<i class="fas fa-info-circle mr-1"></i> How to
2424
</a>
25-
<a
25+
<a *ngIf="userIsLoggedIn"
2626
class="list-group-item list-group-item-action bg-light"
2727
title="Overview of your bookmarks, tags & searches"
2828
[routerLink]="['/dashboard']"
@@ -36,13 +36,6 @@
3636
>
3737
<i class="fas fa-code mr-1"></i> Snippets
3838
</a>
39-
<a
40-
class="list-group-item list-group-item-action bg-light"
41-
title="Your settings"
42-
[routerLink]="['/settings']"
43-
>
44-
<i class="fas fa-cog mr-1"></i> Settings
45-
</a>
4639
<app-quick-access-bookmarks
4740
[quickAccessBookmarks]="latestPinnedBookmarks$ | async"
4841
[source]="'pinned'"

apps/codever-ui/src/app/shared/navigation/navigation.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ <h6 class="dropdown-header">Signed in as</h6>
315315
<a
316316
class="dropdown-item"
317317
title="Overview over your bookmarks and used tags"
318-
routerLink="dashboard"
318+
routerLink="/dashboard"
319319
>
320320
Dashboard
321321
<i class="fas fa-tachometer-alt"></i>

0 commit comments

Comments
 (0)