mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-06-06 09:29:04 +00:00
gui: ceph osd: do not send empty values
that leads to a parameter exception Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
3d7b3992dd
commit
4c94e9de1d
@ -23,6 +23,15 @@ Ext.define('PVE.CephCreateOsd', {
|
||||
items: [
|
||||
{
|
||||
xtype: 'inputpanel',
|
||||
onGetValues: function(values) {
|
||||
Object.keys(values || {}).forEach(function(name) {
|
||||
if (values[name] === '') {
|
||||
delete values[name];
|
||||
}
|
||||
});
|
||||
|
||||
return values;
|
||||
},
|
||||
column1: [
|
||||
{
|
||||
xtype: 'pveDiskSelector',
|
||||
|
Loading…
Reference in New Issue
Block a user