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

Dominik Csapak d.csapak at proxmox.com
Wed Feb 6 09:14:55 CET 2019


On 2/6/19 9:14 AM, Dominik Csapak wrote:
> 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'),
> 

forgot, it fixes #1436




More information about the pve-devel mailing list