Skip to content

Commit 1764a72

Browse files
committed
feat: New condition for determining whether the discriminator is true or not
1 parent b2212e9 commit 1764a72

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/application/flow/step_node/condition_node/compare/is_not_true.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
class IsNotTrueCompare(Compare):
1515

1616
def support(self, node_id, fields: List[str], source_value, compare, target_value):
17-
if compare == 'is_not_ture':
17+
if compare == 'is_not_true':
1818
return True
1919

2020
def compare(self, source_value, compare, target_value):

apps/application/flow/step_node/condition_node/compare/is_true.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
class IsTrueCompare(Compare):
1515

1616
def support(self, node_id, fields: List[str], source_value, compare, target_value):
17-
if compare == 'is_ture':
17+
if compare == 'is_true':
1818
return True
1919

2020
def compare(self, source_value, compare, target_value):

0 commit comments

Comments
 (0)