Commit 2c61d56
fix(frontend): handle Edge API format for multivariate variation overrides
The Edge API returns multivariate_feature_option as an object with a
value property ({ value: number }), while the regular API returns it
as a plain number. This caused the variation selection to fail to match
when editing identity overrides on Edge API.
The fix adds a check to handle both formats when finding the matching
variation override.
Fixes #6582
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 9a6c30b commit 2c61d56
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
114 | | - | |
115 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
116 | 121 | | |
117 | 122 | | |
118 | 123 | | |
| |||
0 commit comments