From 17484d7b5fac56fbff853bda78de001427579ca0 Mon Sep 17 00:00:00 2001 From: Eric Gullickson <16152721+ericgullickson@users.noreply.github.com> Date: Sat, 3 Jan 2026 22:31:07 -0600 Subject: [PATCH] fix: FAB maintenance button navigates to correct screen (refs #13) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The mobile FAB 'Maintenance' option was navigating to the Vehicles screen instead of the Maintenance screen. Updated handleQuickAction to navigate to 'Maintenance' which displays MaintenanceMobileScreen. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- frontend/src/App.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 2f6c58c..f2dff6e 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -437,8 +437,7 @@ function App() { navigateToScreen('Documents', { source: 'quick-action' }); break; case 'add-maintenance': - // Navigate to maintenance or open form (future implementation) - navigateToScreen('Vehicles', { source: 'quick-action' }); + navigateToScreen('Maintenance', { source: 'quick-action' }); break; } }, [navigateToScreen, navigateToVehicleSubScreen]); -- 2.49.1