gui: show Storage Content with Datastore.AllocateSpace/Audit

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2019-02-06 09:14:12 +01:00 committed by Thomas Lamprecht
parent 417dd60183
commit 0110314c61

View File

@ -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'),