]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: ceph: pool edit: set emptyValue to 0 for target-size field
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 26 Apr 2021 12:12:00 +0000 (14:12 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 26 Apr 2021 12:25:02 +0000 (14:25 +0200)
ensure it gets "deleted" (ceph resets it on setting this to zero)
when modified to empty.

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

index d5cb5d405640d78a28de324a3731522a7451d65b..41c08c3994702f53ffa6e1456843eff2ff2fad91 100644 (file)
@@ -144,6 +144,7 @@ Ext.define('PVE.CephPoolInputPanel', {
            allowBlank: true,
            allowZero: true,
            emptyText: '0',
+           emptyValue: 0,
            autoEl: {
                tag: 'div',
                'data-qtip': gettext('The amount of data eventually stored in this pool. Used for auto-scaling.'),