Commit a1bf132
committed
fix(cohorts): clamp gte+0 count input to 1
The count input's onChange only guarded against NaN, so typing 0 while
the operator is "At least" produced {operator: 'gte', count: 0} — a
frequency zFrequency rejects. Apply the same "At least 0 matches
everyone" clamp the operator-change handler already uses.1 parent a01f3d6 commit a1bf132
1 file changed
Lines changed: 8 additions & 2 deletions
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
| 311 | + | |
311 | 312 | | |
312 | 313 | | |
313 | 314 | | |
314 | | - | |
315 | | - | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
316 | 322 | | |
317 | 323 | | |
318 | 324 | | |
| |||
0 commit comments