fix(console): policy routes (#1065)

* fix: policy routes

* role fix
This commit is contained in:
Max Peintner
2020-12-07 09:15:10 +01:00
committed by GitHub
parent 6d210c3f00
commit 8b88a0ab86
6 changed files with 16 additions and 12 deletions
@@ -1,4 +1,4 @@
<app-detail-layout [backRouterLink]="[ serviceType === PolicyComponentServiceType.ADMIN ? '/iam' : '/org']"
<app-detail-layout [backRouterLink]="[ serviceType === PolicyComponentServiceType.ADMIN ? '/iam/policies' : '/org']"
[title]="'POLICY.PWD_AGE.TITLE' | translate" [description]="'POLICY.PWD_AGE.DESCRIPTION' | translate">
<ng-template appHasRole [appHasRole]="['policy.delete']">
<button *ngIf="serviceType === PolicyComponentServiceType.MGMT && !isDefault"