]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-details/pool-details.component.html
import 15.2.4
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / pool / pool-details / pool-details.component.html
index 78d23ac28c864e77d5a47f284ac7c0b01e20f38c..a1515e02b7840d6367e3f18e1ed11593b52c8783 100644 (file)
@@ -1,10 +1,10 @@
 <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"