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 | 5bfbb5020904eadba298fdc094172d1c12879278 (patch) | |
| tree | 366d295d64bc5447caca2f3a87a188151a7239bd /Timeline/ClientApp/src/app/app.component.html | |
| parent | eb6cef70b6f9d1060556592dbf474cf54a174902 (diff) | |
| download | timeline-5bfbb5020904eadba298fdc094172d1c12879278.tar.gz timeline-5bfbb5020904eadba298fdc094172d1c12879278.tar.bz2 timeline-5bfbb5020904eadba298fdc094172d1c12879278.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> |
