Skip to content

Commit 35e5a31

Browse files
committed
saas
1 parent 7b02270 commit 35e5a31

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

datahub-web-react/src/app/entity/shared/entityForm/FormByEntity.tsx

+7-5
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,13 @@ export default function FormByEntity({ formUrn }: Props) {
6464
<ProgressBar formUrn={formUrn} />
6565
<FlexWrapper>
6666
<Form formUrn={formUrn} />
67-
<ProfileSidebar
68-
sidebarSections={loading ? [] : sections}
69-
topSection={{ component: () => <EntityInfo formUrn={formUrn} /> }}
70-
backgroundColor="white"
71-
/>
67+
{selectedEntityData && (
68+
<ProfileSidebar
69+
sidebarSections={loading ? [] : sections}
70+
topSection={{ component: () => <EntityInfo formUrn={formUrn} /> }}
71+
backgroundColor="white"
72+
/>
73+
)}
7274
</FlexWrapper>
7375
</ContentWrapper>
7476
</EntityContext.Provider>

0 commit comments

Comments
 (0)