mirror of
https://github.com/soconnor0919/hristudio.git
synced 2026-03-24 03:37:51 -04:00
Add debug logging for branching flow
This commit is contained in:
@@ -535,6 +535,7 @@ export function WizardActionItem({
|
||||
className="hover:border-primary hover:bg-primary/5 h-auto justify-start px-4 py-3 text-left"
|
||||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
console.log(`[DEBUG WizardActionItem] Choice clicked: actionId=${action.id}, value=${value}, label=${label}, nextStepId=${nextStepId}`);
|
||||
onExecute(action.id, { value, label, nextStepId });
|
||||
// Don't call onCompleted() here - the branching logic in handleWizardResponse
|
||||
// will handle the jump and reset completedActionsCount
|
||||
|
||||
Reference in New Issue
Block a user