[pve-devel] applied: [PATCH proxmox-widget-toolkit 1/1] ui: disks: add 'mounted' column

Wolfgang Bumiller w.bumiller at proxmox.com
Wed Jun 15 10:58:08 CEST 2022


applied, thanks

On Wed, Jun 08, 2022 at 07:10:00AM +0000, Hannes Laimer wrote:
> Signed-off-by: Hannes Laimer <h.laimer at proxmox.com>
> ---
>  src/panel/DiskList.js | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
> 
> diff --git a/src/panel/DiskList.js b/src/panel/DiskList.js
> index eb8b1a8..76d92cd 100644
> --- a/src/panel/DiskList.js
> +++ b/src/panel/DiskList.js
> @@ -35,7 +35,7 @@ Ext.define('pmx-disk-list', {
>  		return undefined;
>  	    },
>  	},
> -	'vendor', 'model', 'serial', 'rpm', 'type', 'wearout', 'health',
> +	'vendor', 'model', 'serial', 'rpm', 'type', 'wearout', 'health', 'mounted',
>      ],
>      idProperty: 'devpath',
>  });
> @@ -302,6 +302,13 @@ Ext.define('Proxmox.DiskList', {
>  	    renderer: Ext.String.htmlEncode,
>  	    dataIndex: 'status',
>  	},
> +	{
> +	    header: 'Mounted',
> +	    width: 60,
> +	    align: 'right',
> +	    renderer: Proxmox.Utils.format_boolean,
> +	    dataIndex: 'mounted',
> +	},
>  	{
>  	    header: 'Wearout',
>  	    width: 90,
> -- 
> 2.30.2





More information about the pve-devel mailing list