Commit 3b9e759
authored
fix(plugin-ecommerce): variants
Fixes #13993
The PR makes it so we add the `not_equals` query constraint only if we
have `data.id` (which we don't have when creating a new variant).validateOptions errors with SQLite when creating a new variant (#14054)1 parent 9c08fb8 commit 3b9e759
1 file changed
Lines changed: 5 additions & 3 deletions
File tree
- packages/plugin-ecommerce/src/collections/variants/createVariantsCollection/hooks
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| |||
0 commit comments