Commit 4e6c0c7
committed
fix(ui): respect semver filter when showing latest tag
The 'latest' tag was unconditionally added to visible results even when
it didn't match the active semver filter. This caused versions like 7.6.0
to appear when filtering by ranges like '^7.5 <7.6'.
Keep the original behaviour of always showing latest when no filter is
active (important for incomplete version loads), but respect the filter
when one is active.1 parent d1b2172 commit 4e6c0c7
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
214 | 225 | | |
215 | 226 | | |
216 | 227 | | |
| |||
0 commit comments