From 60a1ef09934608afbe171bf3cf18ca5e95987153 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Fri, 18 Aug 2023 10:08:27 +0200 Subject: [PATCH] fix(editor): Do not flag dynamic load options issue on expression (#6932) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Story: https://linear.app/n8n/issue/PAY-631 1. Set a Linear node to update an issue. 2. Add an invalid Linear cred. 3. In `Update Fields`, set `State Name or ID` to an expression. → No loading issue should be flagged. 4. Switch back to fixed mode. → Loading issue should be flagged. Capture 2023-08-15 at 15 58 53@2x Capture 2023-08-15 at 15 58 38@2x --- packages/editor-ui/src/components/ParameterInput.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor-ui/src/components/ParameterInput.vue b/packages/editor-ui/src/components/ParameterInput.vue index 1f673bbb3..6ffe82eef 100644 --- a/packages/editor-ui/src/components/ParameterInput.vue +++ b/packages/editor-ui/src/components/ParameterInput.vue @@ -735,7 +735,7 @@ export default defineComponent({ issues.parameters[this.parameter.name] = [issue]; } } - } else if (this.remoteParameterOptionsLoadingIssues !== null) { + } else if (this.remoteParameterOptionsLoadingIssues !== null && !this.isValueExpression) { if (issues.parameters === undefined) { issues.parameters = {}; }