Skip to content

Commit

Permalink
fix routing for admin (#1354)
Browse files Browse the repository at this point in the history
  • Loading branch information
Olya-web7 authored Jun 21, 2022
1 parent 1b46e21 commit 1f59814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/header/header.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ <h2 class="header_descr">
</ng-template>
<ng-template #AdminView>
<a [routerLink]="'./personal-cabinet/config'"><button mat-menu-item>Особиста інформація</button></a>
<a *ngIf="subrole !== 'ProviderAdmin'" [routerLink]="'./admin-tools/platform/AboutPortal'"> <button mat-menu-item>Адміністрування</button></a>
<a *ngIf="subrole !== 'ProviderAdmin'" [routerLink]="'./admin-tools/platform'"> <button mat-menu-item>Адміністрування</button></a>
<button mat-menu-item (click)="logout()">Вийти</button>
</ng-template>
</mat-menu>
Expand Down

0 comments on commit 1f59814

Please sign in to comment.