<tabset #tabsetChild
cdTableDetail
- *ngIf="selection.hasSingleSelection">
+ *ngIf="selection">
<tab i18n-heading
heading="Details">
<cd-table-key-value [renderObjects]="true"
- [data]="filterNonPoolData(selection.first())"
+ [data]="filterNonPoolData(selection)"
[autoReload]="false">
</cd-table-key-value>
</tab>
*ngIf="permissions.grafana.read"
heading="Performance Details">
<cd-grafana [grafanaPath]="'ceph-pool-detail?var-pool_name='
- + selection.first()['pool_name']"
+ + selection['pool_name']"
uid="-xyV8KCiz"
grafanaStyle="one">
</cd-grafana>
</tab>
- <tab *ngIf="selection.first().type === 'replicated'"
+ <tab *ngIf="selection.type === 'replicated'"
i18n-heading
heading="Configuration">
<cd-rbd-configuration-table [data]="selectedPoolConfiguration"></cd-rbd-configuration-table>
</tab>
<tab i18n-heading
- *ngIf="selection.first()['tiers']?.length > 0"
+ *ngIf="selection['tiers']?.length > 0"
heading="Cache Tiers Details">
<cd-table [data]="cacheTiers"
[columns]="cacheTierColumns"