]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: ceph/pool: fix setting target ratio/size (back) to zero
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 21 Apr 2021 13:44:47 +0000 (15:44 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 21 Apr 2021 13:44:47 +0000 (15:44 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/ceph/Pool.js

index be03ef78aa4c271376c1506965d16c96999f5688..f39cb3865fdb6f76eddfba7a8fa4613d91a42c6d 100644 (file)
@@ -127,6 +127,7 @@ Ext.define('PVE.CephPoolInputPanel', {
            minValue: 0,
            decimalPrecision: 3,
            allowBlank: true,
+           allowZero: true,
            emptyText: '0.0',
            autoEl: {
                tag: 'div',
@@ -140,6 +141,7 @@ Ext.define('PVE.CephPoolInputPanel', {
            unit: 'GiB',
            minValue: 0,
            allowBlank: true,
+           allowZero: true,
            emptyText: '0',
            autoEl: {
                tag: 'div',