fix: FAB maintenance button navigates to correct screen (refs #13)
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
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 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 4.5
parent
3053b62fa5
commit
17484d7b5f
@@ -437,8 +437,7 @@ function App() {
|
|||||||
navigateToScreen('Documents', { source: 'quick-action' });
|
navigateToScreen('Documents', { source: 'quick-action' });
|
||||||
break;
|
break;
|
||||||
case 'add-maintenance':
|
case 'add-maintenance':
|
||||||
// Navigate to maintenance or open form (future implementation)
|
navigateToScreen('Maintenance', { source: 'quick-action' });
|
||||||
navigateToScreen('Vehicles', { source: 'quick-action' });
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}, [navigateToScreen, navigateToVehicleSubScreen]);
|
}, [navigateToScreen, navigateToVehicleSubScreen]);
|
||||||
|
|||||||
Reference in New Issue
Block a user