zfs detail: hide the pool itself in tree view

and show the overall health in the grid instead.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
Fabian Ebner 2021-09-10 13:45:37 +02:00 committed by Thomas Lamprecht
parent a18a674d51
commit 79580cd0b6

View 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',