strat-gameplay-webapp/frontend-sba/components/Decisions
Cal Corum 1f2daf233e CLAUDE: Fix TypeScript error in DefensiveSetup - use on_first/on_second/on_third
Fixed property access bug introduced in previous commit:

**Issue**:
- DefensiveSetup.vue was accessing `gameState.runners.third` and `runners.first/second/third`
- GameState type doesn't have a `runners` property
- Caused TypeScript error: "Property 'runners' does not exist on type 'GameState'"

**Fix**:
- Changed to use correct properties: `on_first`, `on_second`, `on_third`
- Updated infieldDepthOptions: `props.gameState?.on_third` (line 163)
- Updated outfieldDepthOptions: destructure `on_first, on_second, on_third` (line 178)
- Updated hasRunners check: `on_first || on_second || on_third` (line 184)

**Why**:
GameState uses individual nullable properties for runners, not a nested object.
This matches the backend Pydantic model structure.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 15:44:20 -06:00
..
DecisionPanel.vue CLAUDE: Phase F3 Complete - Decision Input Workflow with Comprehensive Testing 2025-11-13 13:47:36 -06:00
DefensiveSetup.vue CLAUDE: Fix TypeScript error in DefensiveSetup - use on_first/on_second/on_third 2025-11-21 15:44:20 -06:00
OffensiveApproach.vue CLAUDE: Standardize decision phase naming and fix frontend type mismatches 2025-11-21 15:40:52 -06:00
StolenBaseInputs.vue CLAUDE: Phase F3 Complete - Decision Input Workflow with Comprehensive Testing 2025-11-13 13:47:36 -06:00