correct field display in unmapped
This commit is contained in:
parent
284be741f5
commit
172f8393d9
|
@ -636,8 +636,15 @@ function convertUnassigned(value){
|
|||
let cname=getXdrCategoryName(cid);
|
||||
if (! cname) return rt;
|
||||
let fieldName="";
|
||||
let idx=0;
|
||||
(category.fields || []).forEach(function(f){
|
||||
if (f.v === undefined){
|
||||
if (idx == field) fieldName=f.l;
|
||||
}
|
||||
else{
|
||||
if (parseInt(f.v) == field) fieldName=f.l;
|
||||
}
|
||||
idx++;
|
||||
});
|
||||
let selectorName=selector+"";
|
||||
(category.selector ||[]).forEach(function(s){
|
||||
|
|
Loading…
Reference in New Issue