mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-04 17:41:06 +00:00
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
ff86a29115
commit
46d6238bf7
@ -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…
Reference in New Issue
Block a user