]> git.proxmox.com Git - pve-manager.git/commit
ui: ceph/Pools: improve number checking for target_size
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 20 Apr 2021 08:15:22 +0000 (10:15 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 20 Apr 2021 16:20:35 +0000 (18:20 +0200)
commit17b90534d48d2717f355af48605c5297d39832dd
treeba007c1d65abd871c7a4002a1f07156ff0b3984c
parent08db34257adf3d4e13f7f312f4b22e536d6beae5
ui: ceph/Pools: improve number checking for target_size

the field gives us a string, so the second condition could never
be true, instead parse to a float instead

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/ceph/Pool.js