]> git.proxmox.com Git - proxmox-widget-toolkit.git/blobdiff - src/window/ZFSDetail.js
zfs detail: hide the pool itself in tree view
[proxmox-widget-toolkit.git] / src / window / ZFSDetail.js
index 5606ca05f6879b37491abc4c784a81e52fc92a08..9ad46b84c534cc58187f0be2e8f8bc7580ee1e8b 100644 (file)
@@ -78,6 +78,10 @@ Ext.define('Proxmox.window.ZFSDetail', {
                nodename: '{nodename}',
            },
            rows: {
+               state: {
+                   header: gettext('Health'),
+                   renderer: Proxmox.Utils.render_zfs_health,
+               },
                scan: {
                    header: gettext('Scan'),
                },
@@ -98,7 +102,8 @@ Ext.define('Proxmox.window.ZFSDetail', {
            title: gettext('Devices'),
            stateful: true,
            stateId: 'grid-node-zfsstatus',
-           rootVisible: true,
+           // the root is the pool itself and the information is shown by the grid
+           rootVisible: false,
            fields: ['name', 'status',
                {
                    type: 'string',