Commit 484faee 1 parent 1d1ed78 commit 484faee Copy full SHA for 484faee
File tree 1 file changed +7
-6
lines changed
datahub-web-react/src/app/entity/shared/entityForm
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -63,13 +63,14 @@ export default function FormByEntity({ formUrn }: Props) {
63
63
< ContentWrapper >
64
64
< ProgressBar formUrn = { formUrn } />
65
65
< FlexWrapper >
66
- < ProfileSidebar
67
- sidebarSections = { loading ? [ ] : sections }
68
- topSection = { { component : ( ) => < EntityInfo formUrn = { formUrn } /> } }
69
- backgroundColor = "white"
70
- alignLeft
71
- />
72
66
< Form formUrn = { formUrn } />
67
+ { selectedEntityData && (
68
+ < ProfileSidebar
69
+ sidebarSections = { loading ? [ ] : sections }
70
+ topSection = { { component : ( ) => < EntityInfo formUrn = { formUrn } /> } }
71
+ backgroundColor = "white"
72
+ />
73
+ ) }
73
74
</ FlexWrapper >
74
75
</ ContentWrapper >
75
76
</ EntityContext . Provider >
You can’t perform that action at this time.
0 commit comments