diff options
author | crupest <crupest@outlook.com> | 2019-03-13 22:04:09 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-03-13 22:04:09 +0800 |
commit | 29716c4681f0e016e5f25291e95a143ade39faee (patch) | |
tree | 862047f5836d4dd8be87f7fb93e16f3d7739d499 /Timeline/ClientApp/src/app/app.component.html | |
parent | 435c2b4e68c06bc2d03b209a3dba0b8918f3bf8c (diff) | |
download | timeline-29716c4681f0e016e5f25291e95a143ade39faee.tar.gz timeline-29716c4681f0e016e5f25291e95a143ade39faee.tar.bz2 timeline-29716c4681f0e016e5f25291e95a143ade39faee.zip |
Use route to control user dialog.
Diffstat (limited to 'Timeline/ClientApp/src/app/app.component.html')
-rw-r--r-- | Timeline/ClientApp/src/app/app.component.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Timeline/ClientApp/src/app/app.component.html b/Timeline/ClientApp/src/app/app.component.html index a5df80ac..92c88625 100644 --- a/Timeline/ClientApp/src/app/app.component.html +++ b/Timeline/ClientApp/src/app/app.component.html @@ -1,12 +1,12 @@ <body> <mat-toolbar color="primary" class="mat-elevation-z4"> <a mat-button routerLink="/"> - <img width="30" height="30" src="assets/icon.svg"> Timeline</a> + <img width="30" height="30" src="assets/icon.svg">Timeline</a> <a mat-button routerLink="/todo">TodoList</a> <span class="fill-remaining-space"></span> - <button mat-icon-button (click)="openUserDialog()"> + <a mat-icon-button [routerLink]="[{outlets: {user: ['login']}}]"> <mat-icon>account_circle</mat-icon> - </button> + </a> </mat-toolbar> <div> |