feat(web): redirect /devops -> /settings?section=DevOps
The DevOps panel lives inside Settings, but typing /devops directly hit the catch-all NotFoundView. Add a Navigate redirect so the shorthand URL works. Generated with [Devin](https://cli.devin.ai/docs) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
4763a9a9d1
commit
bd762d32a9
@ -92,6 +92,7 @@ export function AppShell() {
|
|||||||
<Route path="/watchlist" element={<WatchlistView />} />
|
<Route path="/watchlist" element={<WatchlistView />} />
|
||||||
<Route path="/alerts" element={<AlertsView />} />
|
<Route path="/alerts" element={<AlertsView />} />
|
||||||
<Route path="/settings" element={<SettingsView />} />
|
<Route path="/settings" element={<SettingsView />} />
|
||||||
|
<Route path="/devops" element={<Navigate to="/settings?section=DevOps" replace />} />
|
||||||
<Route path="*" element={<NotFoundView />} />
|
<Route path="*" element={<NotFoundView />} />
|
||||||
</Routes>
|
</Routes>
|
||||||
</Suspense>
|
</Suspense>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user