Commit 9562adf
fix(prompts): keep compare dialog target correct during deep-link pagination
Inject the already-resolved activeVersion into the versions array passed to
ComparePromptVersionDialog when it isn't yet in the paginated list. Without
this, opening Diff while a deep-linked version's page was still loading made
the dialog silently fall back to the newest loaded version instead of the
one actually requested.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent 60f0e33 commit 9562adf
1 file changed
Lines changed: 15 additions & 1 deletion
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
118 | 132 | | |
119 | 133 | | |
120 | 134 | | |
| |||
516 | 530 | | |
517 | 531 | | |
518 | 532 | | |
519 | | - | |
| 533 | + | |
520 | 534 | | |
521 | 535 | | |
522 | 536 | | |
| |||
0 commit comments