[agent-pipeline] pipe-20260311182531-f443 round-5
This commit is contained in:
@@ -113,10 +113,19 @@ export const V2LocationSwapSelectorConfigPanel: React.FC<V2LocationSwapSelectorC
|
||||
if (!current[keys[i]]) {
|
||||
current[keys[i]] = {};
|
||||
}
|
||||
current[keys[i]] = { ...current[keys[i]] };
|
||||
current = current[keys[i]];
|
||||
}
|
||||
current[keys[keys.length - 1]] = value;
|
||||
onChange(newConfig);
|
||||
|
||||
if (typeof window !== "undefined") {
|
||||
window.dispatchEvent(
|
||||
new CustomEvent("componentConfigChanged", {
|
||||
detail: { config: newConfig },
|
||||
})
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
const dataSourceType = config?.dataSource?.type || "static";
|
||||
|
||||
Reference in New Issue
Block a user