Skip to content

Commit

Permalink
fix: fixing isBetweenSliderRowValues logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipe Imperio authored and Felipe Imperio committed Dec 2, 2024
1 parent a8bdeb5 commit 6bb39cf
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 6bb39cf

Please sign in to comment.