Commit 165ffea
fix(catalog): guard undefined value in variant option filter
The variant option filter Select could pass `undefined` to
`onValueChange` (e.g. when cleared), storing `undefined` as the filter
value. Treat a falsy value the same as `all` — clear the filter.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 3b0c8ef commit 165ffea
1 file changed
Lines changed: 2 additions & 1 deletion
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
| 216 | + | |
| 217 | + | |
217 | 218 | | |
218 | 219 | | |
219 | 220 | | |
| |||
0 commit comments