From e9f6750029cdfb489470f8250449d9c1a4e34150 Mon Sep 17 00:00:00 2001 From: CTomlyn Date: Thu, 22 Jun 2023 09:38:01 -0700 Subject: [PATCH] #1506 Fix Flows sample app so properties do not open on click (#1507) --- .../components/custom-canvases/flows/flows-canvas.jsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/canvas_modules/harness/src/client/components/custom-canvases/flows/flows-canvas.jsx b/canvas_modules/harness/src/client/components/custom-canvases/flows/flows-canvas.jsx index 832c11c460..b2acdc5add 100644 --- a/canvas_modules/harness/src/client/components/custom-canvases/flows/flows-canvas.jsx +++ b/canvas_modules/harness/src/client/components/custom-canvases/flows/flows-canvas.jsx @@ -106,10 +106,9 @@ export default class FlowsCanvas extends React.Component { } clickActionHandler(source) { - if (this.propertiesRef.current && source.objectType === "node" && - ((source.clickType === "SINGLE_CLICK" && - this.canvasController.getSelectedObjectIds().length === 1) || - (source.clickType === "DOUBLE_CLICK"))) { + if (this.propertiesRef.current && + source.objectType === "node" && + source.clickType === "DOUBLE_CLICK") { this.propertiesRef.current.editNodeHandler(source.id, source.pipelineId); } }