[agent-pipeline] pipe-20260311182531-f443 round-5

This commit is contained in:
DDD1542 2026-03-12 03:49:27 +09:00
parent 465395c162
commit 43edc16486
2 changed files with 21 additions and 0 deletions

View File

@ -113,10 +113,19 @@ export const V2LocationSwapSelectorConfigPanel: React.FC<V2LocationSwapSelectorC
if (!current[keys[i]]) { if (!current[keys[i]]) {
current[keys[i]] = {}; current[keys[i]] = {};
} }
current[keys[i]] = { ...current[keys[i]] };
current = current[keys[i]]; current = current[keys[i]];
} }
current[keys[keys.length - 1]] = value; current[keys[keys.length - 1]] = value;
onChange(newConfig); onChange(newConfig);
if (typeof window !== "undefined") {
window.dispatchEvent(
new CustomEvent("componentConfigChanged", {
detail: { config: newConfig },
})
);
}
}; };
const dataSourceType = config?.dataSource?.type || "static"; const dataSourceType = config?.dataSource?.type || "static";

View File

@ -146,6 +146,18 @@ export const V2NumberingRuleConfigPanel: React.FC<V2NumberingRuleConfigPanelProp
onCheckedChange={(checked) => updateConfig("showRuleList", checked)} onCheckedChange={(checked) => updateConfig("showRuleList", checked)}
/> />
</div> </div>
<div className="flex items-center justify-between py-1">
<div>
<p className="text-sm"> </p>
<p className="text-[11px] text-muted-foreground">
</p>
</div>
<Switch
checked={config.enableReorder !== false}
onCheckedChange={(checked) => updateConfig("enableReorder", checked)}
/>
</div>
</div> </div>
</div> </div>