Changeset 1db5673 for Farmatiko/ClientApp/src/app/login
- Timestamp:
- 11/14/20 12:27:30 (4 years ago)
- Branches:
- master
- Children:
- 68454c6
- Parents:
- ad60966
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Farmatiko/ClientApp/src/app/login/login.component.ts
rad60966 r1db5673 54 54 .subscribe( 55 55 (data) => { 56 if(data.role == 'Admin') {56 if(data.role === 'Admin') { 57 57 this.router.navigate(['/admin']); 58 58 }
Note:
See TracChangeset
for help on using the changeset viewer.