[pve-devel] [PATCH manager] gui: show Storage Content with Datastore.AllocateSpace/Audit

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Feb 6 13:24:45 CET 2019


Am 2/6/19 um 9:14 AM schrieb Dominik Csapak:
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  www/manager6/storage/Browser.js | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/www/manager6/storage/Browser.js b/www/manager6/storage/Browser.js
> index 1cb50dd0..e93aa8de 100644
> --- a/www/manager6/storage/Browser.js
> +++ b/www/manager6/storage/Browser.js
> @@ -35,7 +35,9 @@ Ext.define('PVE.storage.Browser', {
>  	    hstateid: 'storagetab'
>  	});
>  
> -	if (caps.storage['Datastore.Allocate']) {
> +	if (caps.storage['Datastore.Allocate'] ||
> +	    caps.storage['Datastore.AllocateSpace'] ||
> +	    caps.storage['Datastore.Audit']) {
>  	    me.items.push({
>  		xtype: 'pveStorageContentView',
>  		title: gettext('Content'),
> 

applied, thanks! But I forgot to ammend the 'Fix #1436' too...



More information about the pve-devel mailing list