mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-06-06 08:22: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: [
|
items: [
|
||||||
{
|
{
|
||||||
xtype: 'inputpanel',
|
xtype: 'inputpanel',
|
||||||
|
onGetValues: function(values) {
|
||||||
|
Object.keys(values || {}).forEach(function(name) {
|
||||||
|
if (values[name] === '') {
|
||||||
|
delete values[name];
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
return values;
|
||||||
|
},
|
||||||
column1: [
|
column1: [
|
||||||
{
|
{
|
||||||
xtype: 'pveDiskSelector',
|
xtype: 'pveDiskSelector',
|
||||||
|
Loading…
Reference in New Issue
Block a user