We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b02270 commit 35e5a31Copy full SHA for 35e5a31
datahub-web-react/src/app/entity/shared/entityForm/FormByEntity.tsx
@@ -64,11 +64,13 @@ export default function FormByEntity({ formUrn }: Props) {
64
<ProgressBar formUrn={formUrn} />
65
<FlexWrapper>
66
<Form formUrn={formUrn} />
67
- <ProfileSidebar
68
- sidebarSections={loading ? [] : sections}
69
- topSection={{ component: () => <EntityInfo formUrn={formUrn} /> }}
70
- backgroundColor="white"
71
- />
+ {selectedEntityData && (
+ <ProfileSidebar
+ sidebarSections={loading ? [] : sections}
+ topSection={{ component: () => <EntityInfo formUrn={formUrn} /> }}
+ backgroundColor="white"
72
+ />
73
+ )}
74
</FlexWrapper>
75
</ContentWrapper>
76
</EntityContext.Provider>
0 commit comments