]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: backup restore: show "make unique" field also for self-overrride-existing
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 23 Apr 2022 11:03:43 +0000 (13:03 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 23 Apr 2022 11:26:45 +0000 (13:26 +0200)
For example, relevant if the filterVMID checkbox got turned off. But
a user may also want to make the restored VM unique in other cases
too.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/window/Restore.js

index 4957a404d8eb81ae2d02c23ba4132f5fd9944a33..a9221d53a131a66fd5a4bd63f13ab9d0ca8d4cdd 100644 (file)
@@ -161,7 +161,6 @@ Ext.define('PVE.window.Restore', {
                    xtype: 'proxmoxcheckbox',
                    name: 'unique',
                    fieldLabel: gettext('Unique'),
-                   hidden: !!me.vmid,
                    flex: 1,
                    autoEl: {
                        tag: 'div',
@@ -233,8 +232,6 @@ Ext.define('PVE.window.Restore', {
                fieldLabel: gettext('Live restore'),
                checked: false,
                hidden: !me.isPBS,
-               // align checkbox with 'start' if 'unique' is hidden
-               labelWidth: me.vmid ? 105 : 100,
            },
            {
                xtype: 'displayfield',