mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-08-07 10:16:03 +00:00
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:
parent
a18a674d51
commit
79580cd0b6
@ -78,6 +78,10 @@ Ext.define('Proxmox.window.ZFSDetail', {
|
|||||||
nodename: '{nodename}',
|
nodename: '{nodename}',
|
||||||
},
|
},
|
||||||
rows: {
|
rows: {
|
||||||
|
state: {
|
||||||
|
header: gettext('Health'),
|
||||||
|
renderer: Proxmox.Utils.render_zfs_health,
|
||||||
|
},
|
||||||
scan: {
|
scan: {
|
||||||
header: gettext('Scan'),
|
header: gettext('Scan'),
|
||||||
},
|
},
|
||||||
@ -98,7 +102,8 @@ Ext.define('Proxmox.window.ZFSDetail', {
|
|||||||
title: gettext('Devices'),
|
title: gettext('Devices'),
|
||||||
stateful: true,
|
stateful: true,
|
||||||
stateId: 'grid-node-zfsstatus',
|
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',
|
fields: ['name', 'status',
|
||||||
{
|
{
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
Loading…
Reference in New Issue
Block a user