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);
|
let cname=getXdrCategoryName(cid);
|
||||||
if (! cname) return rt;
|
if (! cname) return rt;
|
||||||
let fieldName="";
|
let fieldName="";
|
||||||
|
let idx=0;
|
||||||
(category.fields || []).forEach(function(f){
|
(category.fields || []).forEach(function(f){
|
||||||
|
if (f.v === undefined){
|
||||||
|
if (idx == field) fieldName=f.l;
|
||||||
|
}
|
||||||
|
else{
|
||||||
if (parseInt(f.v) == field) fieldName=f.l;
|
if (parseInt(f.v) == field) fieldName=f.l;
|
||||||
|
}
|
||||||
|
idx++;
|
||||||
});
|
});
|
||||||
let selectorName=selector+"";
|
let selectorName=selector+"";
|
||||||
(category.selector ||[]).forEach(function(s){
|
(category.selector ||[]).forEach(function(s){
|
||||||
|
|
Loading…
Reference in New Issue