fix(ara-projects): copy the empty-dependents constant per option (#410)

Every unselected card was handed the same NO_DEPENDENTS object; a caller
mutating one would have moved them all. Spread it.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Daniel Roth 2026-07-23 10:14:37 +00:00
parent 40bc9a6a64
commit 4366835b1e

View file

@ -127,7 +127,7 @@ export async function listWorkstreamOptions(
contractors: selection.contractors,
workOrders: selection.workOrders,
}
: NO_DEPENDENTS,
: { ...NO_DEPENDENTS },
};
});
}