diff options
| -rw-r--r-- | src/DevHive.Angular/src/app/components/profile/profile.component.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DevHive.Angular/src/app/components/profile/profile.component.html b/src/DevHive.Angular/src/app/components/profile/profile.component.html index 614117c..e2dacd1 100644 --- a/src/DevHive.Angular/src/app/components/profile/profile.component.html +++ b/src/DevHive.Angular/src/app/components/profile/profile.component.html @@ -4,7 +4,7 @@ <nav id="navigation"> <button class="submit-btn" (click)="goBack()">ᐊ Back</button> <button class="submit-btn" (click)="navigateToSettings()" *ngIf="loggedInUser">Settings</button> - <button class="submit-btn" (click)="navigateToAdminPanel()" *ngIf="isAdminUser">Panel</button> + <button class="submit-btn" (click)="navigateToAdminPanel()" *ngIf="loggedInUser && isAdminUser">Panel</button> <button class="submit-btn" (click)="logout()" *ngIf="loggedInUser">Logout</button> </nav> <hr> |
