[agent-pipeline] pipe-20260329160157-3bqb round-1
This commit is contained in:
@@ -400,12 +400,12 @@ export const V2AggregationWidgetConfigPanel: React.FC<V2AggregationWidgetConfigP
|
||||
const uniqueOptions: Array<{ value: string; label: string }> = [];
|
||||
for (const item of result.data) {
|
||||
const itemAny = item as any;
|
||||
const code = item.valueCode || itemAny.code || itemAny.value || itemAny.id;
|
||||
const code = item.value_code || itemAny.code || itemAny.value || itemAny.id;
|
||||
if (!seenCodes.has(code)) {
|
||||
seenCodes.add(code);
|
||||
uniqueOptions.push({
|
||||
value: code,
|
||||
label: item.valueLabel || itemAny.valueName || itemAny.name || itemAny.label || itemAny.displayName || code,
|
||||
label: item.value_label || itemAny.valueName || itemAny.name || itemAny.label || itemAny.displayName || code,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user