mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-24 16:59:02 +00:00
ui: storage edit: ensure to set keep-all by default
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
13a0434066
commit
e3022813ec
@ -67,6 +67,8 @@ Ext.define('PVE.panel.StoragePruneInputPanel', {
|
||||
onGetValues: function(formValues) {
|
||||
if (this.needMask) { // isMasked() may not yet be true if not rendered once
|
||||
return {};
|
||||
} else if (this.isCreate && !this.rendered) {
|
||||
return { 'prune-backups': 'keep-all=1' };
|
||||
}
|
||||
delete formValues.delete;
|
||||
let retention = PVE.Parser.printPropertyString(formValues)
|
||||
|
Loading…
Reference in New Issue
Block a user