From c2eafc4d354453997ef9da371a6911ad496b8185 Mon Sep 17 00:00:00 2001 From: srikant Date: Thu, 16 May 2024 01:41:32 +0530 Subject: [PATCH] #1941 Fix warning in console in harness right flyout (#1942) --- .../common-properties/components/editor-form/editor-form.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/canvas_modules/common-canvas/src/common-properties/components/editor-form/editor-form.jsx b/canvas_modules/common-canvas/src/common-properties/components/editor-form/editor-form.jsx index 85872dd594..b823533d50 100644 --- a/canvas_modules/common-canvas/src/common-properties/components/editor-form/editor-form.jsx +++ b/canvas_modules/common-canvas/src/common-properties/components/editor-form/editor-form.jsx @@ -255,7 +255,7 @@ class EditorForm extends React.Component { if (this.props.rightFlyout && this.props.categoryView !== CATEGORY_VIEW.TABS) { return ( - <> + {tabContent.length ? (
{tabContent}
) : null} @@ -264,7 +264,7 @@ class EditorForm extends React.Component { {tabContentAcc} ) : null} - +
); } return (