[pve-devel] [PATCH manager] gui: show Storage Content with Datastore.AllocateSpace/Audit
Dominik Csapak
d.csapak at proxmox.com
Wed Feb 6 09:14:12 CET 2019
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'),
--
2.11.0
More information about the pve-devel
mailing list