From c27a652e5429c52481751a94cfb5db749de2ef50 Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Thu, 27 Nov 2025 21:17:21 -0600 Subject: [PATCH] CLAUDE: Fix hasRunners detection and hide outfield for groundballs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug fix: - Fixed hasRunners prop using wrong property path (gameState.runners.first instead of gameState.on_first) - hit location selector was never showing Optimization: - Hide outfield positions (LF, CF, RF) for groundball outcomes since groundballs by definition stay in the infield - Auto-clear outfield selection when switching to groundball outcome 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../Gameplay/ManualOutcomeEntry.vue | 17 ++++- frontend-sba/constants/outcomes.ts | 10 +++ frontend-sba/pages/games/[id].vue | 69 ++++--------------- 3 files changed, 37 insertions(+), 59 deletions(-) diff --git a/frontend-sba/components/Gameplay/ManualOutcomeEntry.vue b/frontend-sba/components/Gameplay/ManualOutcomeEntry.vue index b5c8b0b..32a4b5f 100644 --- a/frontend-sba/components/Gameplay/ManualOutcomeEntry.vue +++ b/frontend-sba/components/Gameplay/ManualOutcomeEntry.vue @@ -58,7 +58,7 @@ -
+
Outfield