fix: FAB maintenance button navigates to correct screen (refs #13)
All checks were successful
Deploy to Staging / Build Images (pull_request) Successful in 5m22s
Deploy to Staging / Deploy to Staging (pull_request) Successful in 37s
Deploy to Staging / Verify Staging (pull_request) Successful in 6s
Deploy to Staging / Notify Staging Ready (pull_request) Successful in 5s
Deploy to Staging / Notify Staging Failure (pull_request) Has been skipped
All checks were successful
Deploy to Staging / Build Images (pull_request) Successful in 5m22s
Deploy to Staging / Deploy to Staging (pull_request) Successful in 37s
Deploy to Staging / Verify Staging (pull_request) Successful in 6s
Deploy to Staging / Notify Staging Ready (pull_request) Successful in 5s
Deploy to Staging / Notify Staging Failure (pull_request) Has been skipped
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 <noreply@anthropic.com>
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user