mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-28 20:44:50 +02:00
[aidan] fix/convert-button: stop drag capture so convert-to-workflow click fires
This commit is contained in:
@@ -1156,6 +1156,7 @@ const AgentCard: React.FC<Props> = ({
|
||||
role="button"
|
||||
aria-disabled={!canConvertToWorkflow}
|
||||
onClick={handleConvertToWorkflow}
|
||||
onPointerDown={(e) => e.stopPropagation()}
|
||||
onMouseDown={(e) => e.stopPropagation()}
|
||||
animate={suggestGlowCycle > 0 ? {
|
||||
scale: [1, 1.06, 1, 1.045, 1],
|
||||
|
||||
Reference in New Issue
Block a user