Skip to content

Commit

Permalink
ensure property.constraints.planning can't be []
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicamcinchak committed Aug 14, 2024
1 parent c75bf35 commit a9655fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ function Component(props: Props) {
_overrides,
"planningConstraints.action": userAction,
_nots: notsAfterOverrides,
...intersectingConstraintsAfterOverrides,
...(intersectingConstraintsAfterOverrides[props.fn]?.length === 0 ? undefined : intersectingConstraintsAfterOverrides),
};

props.handleSubmit?.({
Expand Down

0 comments on commit a9655fc

Please sign in to comment.