Commit a87fb80
committed
fix(buds): v-if/v-else adjacency in BUDImpactedReposDialog
Vite's Vue compiler rejected the no-matches placeholder because the
literal '.' between the inline v-if span and the v-else span counted
as a text node, breaking the v-if/v-else adjacency rule. Move the
two variants into <template v-if> / <template v-else> wrappers so
the directive pair sits on directly adjacent siblings with no
intervening text. Vue 3 template-compile rule — both branches still
render the same wording, only the wrapping element changes.
Found at runtime while testing the integration branch — would have
blocked the picker from rendering whenever the filter input matched
zero repos or no repos were tracked yet.
Signed-off-by: Arun Rajkumar <mickyarunr@gmail.com>1 parent 49879b2 commit a87fb80
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
68 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
| |||
0 commit comments