Commit b2cbeb1
fix: reuse shared conditionsSchema for discussion conditions
Use z.lazy(() => conditionsSchema) instead of duplicating the array
schema inline, ensuring discussion conditions get the same
altTemplateContext support and error messages as element conditions.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent d9314d9 commit b2cbeb1
1 file changed
Lines changed: 1 addition & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
| 286 | + | |
296 | 287 | | |
297 | 288 | | |
298 | 289 | | |
| |||
0 commit comments