Fixed issue of duplicate values shown in Column>Columns to Import/Export dropdown when a value(values) is unselected.
refs #7017pull/70/head
parent
8fd3ddc4ae
commit
47479e5e5c
|
@ -67,10 +67,11 @@ define([
|
|||
),
|
||||
()=>getMiscellaneousSchema(),
|
||||
{columns: ()=>getNodeListByName('column', treeNodeInfo, itemNodeData, { cacheLevel: 'column'}, ()=>true, (res)=>{
|
||||
let columnsList = [];
|
||||
res.forEach(d => {
|
||||
res.push({label: d.label, value: d.value, image:'icon-column', selected: true});
|
||||
columnsList.push({label: d.label, value: d.value, image:'icon-column', selected: true});
|
||||
});
|
||||
return res;
|
||||
return columnsList;
|
||||
})}
|
||||
);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue