class="policy-type-table mat-elevation-z8">
<ng-container matColumnDef="name">
- <mat-header-cell *matHeaderCellDef mat-sort-header>Policy Type</mat-header-cell>
+ <mat-header-cell *matHeaderCellDef>Policy Type</mat-header-cell>
<mat-cell *matCellDef="let policyType">
<mat-icon matTooltip="Properties">{{isInstancesShown(policyType) ? 'expand_less' : 'expand_more'}}
</mat-icon>
- {{getPolicyTypeName(policyType)}}
+ {{this.getName(policyType)}}
</mat-cell>
</ng-container>
<ng-container matColumnDef="description">
<mat-header-cell *matHeaderCellDef> Description </mat-header-cell>
- <mat-cell *matCellDef="let policyType"> {{policyType.description}} </mat-cell>
+ <mat-cell *matCellDef="let policyType"> {{policyType.schemaObject.description}}
+ </mat-cell>
</ng-container>
<ng-container matColumnDef="action">
<!-- =================== Policy instances for one type ======================== -->
<ng-container matColumnDef="instanceTableContainer">
<mat-cell *matCellDef="let policyType">
- <rd-policy-instance [policyType]=policyType [expanded]=getObservable(policyType)>
+ <rd-policy-instance [policyType]=policyType [expanded]=this.getExpandedObserver(policyType)>
</rd-policy-instance>
</mat-cell>
</ng-container>