Commit dd4b9db
committed
fix: sync dashboard activeTab with URL search params
Replaces plain component state for activeTab with useSearchParams from
next/navigation, so the selected dashboard tab is reflected in the URL
query string (e.g. ?tab=outgoing). This enables deep-linking, proper
back-button navigation, and page-reload persistence of the selected tab.
Closes #12341 parent 6db14d7 commit dd4b9db
2 files changed
Lines changed: 18 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
4 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
5 | 10 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
513 | 514 | | |
514 | 515 | | |
515 | 516 | | |
| 517 | + | |
| 518 | + | |
516 | 519 | | |
517 | 520 | | |
518 | | - | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
519 | 525 | | |
520 | 526 | | |
521 | 527 | | |
| |||
1398 | 1404 | | |
1399 | 1405 | | |
1400 | 1406 | | |
1401 | | - | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
1402 | 1412 | | |
1403 | 1413 | | |
1404 | 1414 | | |
| |||
0 commit comments