]> git.proxmox.com Git - pve-manager-legacy.git/commitdiff
gui: show Storage Content with Datastore.AllocateSpace/Audit
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 6 Feb 2019 08:14:12 +0000 (09:14 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 6 Feb 2019 10:35:13 +0000 (11:35 +0100)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/storage/Browser.js

index 1cb50dd032995ede4803a78ef09191c088ceb047..e93aa8def0e6b2eeaf1c92983a585ccd2d17a14b 100644 (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'),