correctly parse iscsi content
we parse the content as a list, so it is always an array Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
6348ef44ec
commit
d80195e556
@ -69,7 +69,7 @@ Ext.define('PVE.storage.IScsiInputPanel', {
|
||||
},
|
||||
|
||||
setValues: function(values) {
|
||||
values.luns = (values.content === 'images') ? true : false;
|
||||
values.luns = (values.content.indexOf('images') !== -1) ? true : false;
|
||||
this.callParent([values]);
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user