Skip to content

Commit 7281939

Browse files
committed
Make topbar icon middle-clickable
Change icon from button with click handler to link with routerLink
1 parent fa92c6b commit 7281939

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/components/shared/top-bar/topbar.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
[style.color]="'var(--mat-sys-on-primary)'">
77
<mat-toolbar-row>
88
<span class="margin-auto">
9-
<button mat-icon-button style="outline: none; background-color: var(--mat-sys-on-primary);" (click)="goToHome()">
9+
<a mat-icon-button style="outline: none; background-color: var(--mat-sys-on-primary);" [routerLink]="['/']">
1010
<mat-icon svgIcon="ic_crucible_player"></mat-icon>
11-
</button>
11+
</a>
1212
</span>
1313
<span class="view-text">{{ title }}</span>
1414
@if (teams && team && teams.length > 0) {

0 commit comments

Comments
 (0)