mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-10 09:53:10 +00:00
gui: show Storage Content with Datastore.AllocateSpace/Audit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
417dd60183
commit
0110314c61
@ -35,7 +35,9 @@ Ext.define('PVE.storage.Browser', {
|
|||||||
hstateid: 'storagetab'
|
hstateid: 'storagetab'
|
||||||
});
|
});
|
||||||
|
|
||||||
if (caps.storage['Datastore.Allocate']) {
|
if (caps.storage['Datastore.Allocate'] ||
|
||||||
|
caps.storage['Datastore.AllocateSpace'] ||
|
||||||
|
caps.storage['Datastore.Audit']) {
|
||||||
me.items.push({
|
me.items.push({
|
||||||
xtype: 'pveStorageContentView',
|
xtype: 'pveStorageContentView',
|
||||||
title: gettext('Content'),
|
title: gettext('Content'),
|
||||||
|
Loading…
Reference in New Issue
Block a user