Skip to content

Commit 484faee

Browse files
authored
fix(web) move form entity sidebar to right to align with cloud (#12796)
1 parent 1d1ed78 commit 484faee

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

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

+7-6
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,14 @@ export default function FormByEntity({ formUrn }: Props) {
6363
<ContentWrapper>
6464
<ProgressBar formUrn={formUrn} />
6565
<FlexWrapper>
66-
<ProfileSidebar
67-
sidebarSections={loading ? [] : sections}
68-
topSection={{ component: () => <EntityInfo formUrn={formUrn} /> }}
69-
backgroundColor="white"
70-
alignLeft
71-
/>
7266
<Form formUrn={formUrn} />
67+
{selectedEntityData && (
68+
<ProfileSidebar
69+
sidebarSections={loading ? [] : sections}
70+
topSection={{ component: () => <EntityInfo formUrn={formUrn} /> }}
71+
backgroundColor="white"
72+
/>
73+
)}
7374
</FlexWrapper>
7475
</ContentWrapper>
7576
</EntityContext.Provider>

0 commit comments

Comments
 (0)