Skip to content

Commit

Permalink
[ACS-4446] Folder Rules Bug Fix: Error thrown when Condition If Name …
Browse files Browse the repository at this point in the history
…Starts With/Ends With is used (#2918)

* ACS-4446 - renamed names

* ACS-4446 - renamed 'less/greater than or equal' filds name
  • Loading branch information
nikita-web-ua committed Jan 24, 2023
1 parent 372e3fe commit 93ba005
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ export const ruleConditionComparators: RuleConditionComparator[] = [
}
},
{
name: 'starts_with',
name: 'begins',
labels: {
string: 'ACA_FOLDER_RULES.RULE_DETAILS.COMPARATORS.STARTS_WITH'
}
},
{
name: 'ends_with',
name: 'ends',
labels: {
string: 'ACA_FOLDER_RULES.RULE_DETAILS.COMPARATORS.ENDS_WITH'
}
Expand All @@ -73,14 +73,14 @@ export const ruleConditionComparators: RuleConditionComparator[] = [
}
},
{
name: 'greater_than_or_equal',
name: 'greater_than_equal',
labels: {
number: 'ACA_FOLDER_RULES.RULE_DETAILS.COMPARATORS.GREATER_THAN_OR_EQUAL',
date: 'ACA_FOLDER_RULES.RULE_DETAILS.COMPARATORS.ON_OR_AFTER'
}
},
{
name: 'less_than_or_equal',
name: 'less_than_equal',
labels: {
number: 'ACA_FOLDER_RULES.RULE_DETAILS.COMPARATORS.LESS_THAN_OR_EQUAL',
date: 'ACA_FOLDER_RULES.RULE_DETAILS.COMPARATORS.ON_OR_BEFORE'
Expand Down

0 comments on commit 93ba005

Please sign in to comment.