diff --git a/frontend/src/Editor/EditorFunc.jsx b/frontend/src/Editor/EditorFunc.jsx index c64a5fb5f6..e24a0abf8f 100644 --- a/frontend/src/Editor/EditorFunc.jsx +++ b/frontend/src/Editor/EditorFunc.jsx @@ -1557,6 +1557,13 @@ const EditorComponent = (props) => { ); } + + const shouldrenderWidgetInspector = + currentSidebarTab === 1 && + selectedComponents?.length === 1 && + !isEmpty(appDefinition?.pages[currentPageId]?.components) && + !isEmpty(appDefinition?.pages[currentPageId]?.components[selectedComponents[0]?.id]); + return (