mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-04 13:54:26 +00:00
ui: storage edit: avoid returning prune values if unsupported
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
5865b59747
commit
a55b3b717f
@ -65,6 +65,9 @@ Ext.define('PVE.panel.StoragePruneInputPanel', {
|
||||
keepLastEmptyText: gettext('1'),
|
||||
|
||||
onGetValues: function(formValues) {
|
||||
if (this.needMask) { // isMasked() may not yet be true if not rendered once
|
||||
return {};
|
||||
}
|
||||
delete formValues.delete;
|
||||
let retention = PVE.Parser.printPropertyString(formValues)
|
||||
if (retention === '') {
|
||||
|
Loading…
Reference in New Issue
Block a user