]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-devices/inventory-devices.component.ts
import 15.2.5
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / cluster / inventory / inventory-devices / inventory-devices.component.ts
index 79744611fd7d8430e39813a5c9dbed9d226c7091..76a196c50a894539a9ab8e721e3c08aeca483aa5 100644 (file)
@@ -116,7 +116,9 @@ export class InventoryDevicesComponent implements OnInit, OnDestroy {
       {
         name: this.i18n('Available'),
         prop: 'available',
-        flexGrow: 1
+        flexGrow: 1,
+        cellClass: 'text-center',
+        cellTransformation: CellTemplate.checkIcon
       },
       {
         name: this.i18n('Vendor'),
@@ -193,13 +195,15 @@ export class InventoryDevicesComponent implements OnInit, OnDestroy {
             name: 'duration',
             value: 300,
             required: true,
-            options: [
-              { text: this.i18n('1 minute'), value: 60 },
-              { text: this.i18n('2 minutes'), value: 120 },
-              { text: this.i18n('5 minutes'), value: 300 },
-              { text: this.i18n('10 minutes'), value: 600 },
-              { text: this.i18n('15 minutes'), value: 900 }
-            ]
+            typeConfig: {
+              options: [
+                { text: this.i18n('1 minute'), value: 60 },
+                { text: this.i18n('2 minutes'), value: 120 },
+                { text: this.i18n('5 minutes'), value: 300 },
+                { text: this.i18n('10 minutes'), value: 600 },
+                { text: this.i18n('15 minutes'), value: 900 }
+              ]
+            }
           }
         ],
         submitButtonText: this.i18n('Execute'),