From 0b3ed7435e79557e04d53813b88d4d5cc7370f91 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Fri, 11 Sep 2020 14:46:22 +0100 Subject: [PATCH] Fix workflow filter logic block tagline --- .../server/src/api/controllers/workflow/blockDefinitions.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/server/src/api/controllers/workflow/blockDefinitions.js b/packages/server/src/api/controllers/workflow/blockDefinitions.js index a0dfe04f2d..e889bbaa0c 100644 --- a/packages/server/src/api/controllers/workflow/blockDefinitions.js +++ b/packages/server/src/api/controllers/workflow/blockDefinitions.js @@ -58,7 +58,7 @@ const ACTION = { const LOGIC = { FILTER: { name: "Filter", - tagline: "{{field}} {{condition}} {{value}}", + tagline: "{{filter}} {{condition}} {{value}}", icon: "ri-git-branch-line", description: "Filter any workflows which do not meet certain conditions.", params: { @@ -66,6 +66,9 @@ const LOGIC = { condition: ["equals"], value: "string", }, + args: { + condition: "equals", + }, type: "LOGIC", }, DELAY: {