2
0

🚸 (condition) Don't show value in node content if operator is "set" or "empty"

This commit is contained in:
Baptiste Arnaud
2023-10-07 08:08:56 +02:00
parent 073654e1e0
commit 224a08b932

View File

@@ -35,7 +35,10 @@ export const ConditionContent = ({
{parseComparisonOperatorSymbol(comparison.comparisonOperator)}
</Text>
)}
{comparison?.value && (
{comparison?.value &&
comparison.comparisonOperator !== ComparisonOperators.IS_SET &&
comparison.comparisonOperator !==
ComparisonOperators.IS_EMPTY && (
<Tag bgColor={comparisonValueBg} size="sm">
{comparison.value}
</Tag>