Commit e002afc
committed
fix(webapp): reset webhook detail pagination when the time range changes
TimeFilter clears the generic cursor/direction on apply, but the webhook detail
page paginates under deliveriesCursor/deliveriesDirection and runsCursor/
runsDirection, so changing the range left a stale page and the list came back
empty or misaligned. TimeFilter gains an optional clearParams, and the page
passes its namespaced pagination params so a range change returns to the first
page.1 parent c636605 commit e002afc
2 files changed
Lines changed: 20 additions & 1 deletion
File tree
- apps/webapp/app
- components/runs/v3
- routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.webhooks.$webhookParam
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
| 361 | + | |
| 362 | + | |
361 | 363 | | |
362 | 364 | | |
363 | 365 | | |
| |||
372 | 374 | | |
373 | 375 | | |
374 | 376 | | |
| 377 | + | |
375 | 378 | | |
376 | 379 | | |
377 | 380 | | |
| |||
441 | 444 | | |
442 | 445 | | |
443 | 446 | | |
| 447 | + | |
444 | 448 | | |
445 | 449 | | |
446 | 450 | | |
| |||
471 | 475 | | |
472 | 476 | | |
473 | 477 | | |
| 478 | + | |
474 | 479 | | |
475 | 480 | | |
476 | 481 | | |
| |||
484 | 489 | | |
485 | 490 | | |
486 | 491 | | |
| 492 | + | |
| 493 | + | |
487 | 494 | | |
488 | 495 | | |
489 | 496 | | |
490 | 497 | | |
| 498 | + | |
491 | 499 | | |
492 | 500 | | |
493 | 501 | | |
| |||
561 | 569 | | |
562 | 570 | | |
563 | 571 | | |
| 572 | + | |
564 | 573 | | |
565 | 574 | | |
566 | 575 | | |
| |||
620 | 629 | | |
621 | 630 | | |
622 | 631 | | |
| 632 | + | |
623 | 633 | | |
624 | 634 | | |
625 | 635 | | |
| |||
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
305 | | - | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
306 | 315 | | |
307 | 316 | | |
308 | 317 | | |
| |||
0 commit comments