Skip to content

Commit

Permalink
remove if regex
Browse files Browse the repository at this point in the history
  • Loading branch information
zxhlyh committed Sep 10, 2024
1 parent 9b7a321 commit d531827
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ const Line = ({
d='M0,18 L24,18'
strokeWidth={1}
fill='none'
className='stroke-divider-soild'
className='stroke-divider-solid'
/>
<rect
x={0}
y={16}
width={1}
height={4}
className='fill-divider-soild-alt'
className='fill-divider-solid-alt'
/>
</>
)
Expand All @@ -51,7 +51,7 @@ const Line = ({
d={`M0,18 Q12,18 12,28 L12,${space - 10 + 2} Q12,${space + 2} 24,${space + 2}`}
strokeWidth={1}
fill='none'
className='stroke-divider-soild'
className='stroke-divider-solid'
/>
)
}
Expand All @@ -60,7 +60,7 @@ const Line = ({
y={space}
width={1}
height={4}
className='fill-divider-soild-alt'
className='fill-divider-solid-alt'
/>
</g>
)
Expand Down
1 change: 0 additions & 1 deletion web/app/components/workflow/nodes/if-else/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ export enum ComparisonOperator {
lessThanOrEqual = '≤',
isNull = 'is null',
isNotNull = 'is not null',
regexMatch = 'regex match',
}

export type Condition = {
Expand Down
1 change: 0 additions & 1 deletion web/app/components/workflow/nodes/if-else/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export const getOperators = (type?: VarType) => {
ComparisonOperator.isNot,
ComparisonOperator.empty,
ComparisonOperator.notEmpty,
ComparisonOperator.regexMatch,
]
case VarType.number:
return [
Expand Down
1 change: 0 additions & 1 deletion web/i18n/en-US/workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,6 @@ const translation = {
'not empty': 'is not empty',
'null': 'is null',
'not null': 'is not null',
'regex match': 'regex match',
},
enterValue: 'Enter value',
addCondition: 'Add Condition',
Expand Down
1 change: 0 additions & 1 deletion web/i18n/zh-Hans/workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,6 @@ const translation = {
'not empty': '不为空',
'null': '空',
'not null': '不为空',
'regex match': '正则匹配',
},
enterValue: '输入值',
addCondition: '添加条件',
Expand Down

0 comments on commit d531827

Please sign in to comment.