Commit a436d40
fix: propagate viewName in console href generation (App, Sidebar, Search)
Three additional places in the console app built object navigation hrefs
without considering viewName:
- findFirstRoute() in App.tsx (home redirect)
- Mobile bottom nav in AppSidebar.tsx
- SearchResultsPage.tsx search results
All now append /view/{viewName} when present, matching the layout fix.
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>1 parent bd9d8fc commit a436d40
File tree
3 files changed
+9
-3
lines changed- apps/console/src
- components
3 files changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
430 | | - | |
| 430 | + | |
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
527 | | - | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
528 | 531 | | |
529 | 532 | | |
530 | 533 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
| |||
0 commit comments