Commit 6d504d8
committed
fix(details-health): pass explicit index to health-details for correct row alternation
The Instance node always received index=0, and each health group node also
defaulted to index=0, so all top-level rows rendered with the same bg-white
background. Now the Instance node is explicitly :index="0" and each group
node receives :index="groupIdx + 1", producing correct even/odd alternation
across all sibling health-details rows.1 parent 99144e0 commit 6d504d8
1 file changed
Lines changed: 8 additions & 2 deletions
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
52 | 57 | | |
53 | | - | |
| 58 | + | |
54 | 59 | | |
55 | 60 | | |
56 | 61 | | |
| |||
88 | 93 | | |
89 | 94 | | |
90 | 95 | | |
| 96 | + | |
91 | 97 | | |
92 | 98 | | |
93 | 99 | | |
| |||
0 commit comments