Commit 80a1ea1
committed
fix(v2): order artwork images before videos, narrow filter with type guard
Sort library media so image entries precede video entries (stable sort
keeps original order within each group), and use a type-predicate filter
so the result stays typed as RomArtworkEntry[].
Generated-By: PostHog Code
Task-Id: fad7faa2-a17e-4583-a816-1b9915ba138f1 parent 3e1212e commit 80a1ea1
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
138 | 140 | | |
139 | 141 | | |
140 | 142 | | |
| |||
0 commit comments