Skip to content

Commit

Permalink
fix: isBetweenSliderRowValues logic (M2-8308) (#910)
Browse files Browse the repository at this point in the history
fix: M2-8308 fixing isBetweenSliderRowValues logic
  • Loading branch information
ChaconC authored Dec 4, 2024
2 parents a8bdeb5 + 6bb39cf commit 21f06d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entities/conditional-logic/model/conditions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ export const isBetweenSliderRowValues = (
minValue: number,
maxValue: number,
) => {
return rowValue !== null && rowValue >= minValue && rowValue <= maxValue;
return rowValue !== null && rowValue > minValue && rowValue < maxValue;
};

export const isLessThanSliderRow = (rowValue: number | null, value: number) => {
Expand Down

0 comments on commit 21f06d9

Please sign in to comment.