fix small typo in UI display language (#42264)

Co-authored-by: Clarity-89 <homes89@ukr.net>
This commit is contained in:
matt abrams 2021-11-24 22:46:17 -10:00 committed by GitHub
parent 12d2b9e997
commit e447d5a53e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ const isGreaterValueMatcher: ValueMatcherInfo<BasicValueMatcherOptions<number>>
const isGreaterOrEqualValueMatcher: ValueMatcherInfo<BasicValueMatcherOptions<number>> = {
id: ValueMatcherID.greaterOrEqual,
name: 'Is greater or equal',
description: 'Match when field value is lower or greater than option.',
description: 'Match when field value is greater than or equal to option.',
get: (options) => {
return (valueIndex: number, field: Field) => {
const value = field.values.get(valueIndex);
@ -37,7 +37,7 @@ const isGreaterOrEqualValueMatcher: ValueMatcherInfo<BasicValueMatcherOptions<nu
};
},
getOptionsDisplayText: (options) => {
return `Matches all rows where field value is lower or greater than: ${options.value}.`;
return `Matches all rows where field value is greater than or equal to: ${options.value}.`;
},
isApplicable: (field) => field.type === FieldType.number,
getDefaultOptions: () => ({ value: 0 }),