Merge branch 'fix-profile-fields-panel' into 'develop'
Fix profile fields panel from not showing up See merge request soapbox-pub/soapbox!2586
This commit is contained in:
commit
b1a775c2a9
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ const ProfilePage: React.FC<IProfilePage> = ({ params, children }) => {
|
|||
<BundleContainer fetchComponent={ProfileMediaPanel}>
|
||||
{Component => <Component account={account} />}
|
||||
</BundleContainer>
|
||||
{account && !account.fields.length && (
|
||||
{account && account.fields.length && (
|
||||
<BundleContainer fetchComponent={ProfileFieldsPanel}>
|
||||
{Component => <Component account={account} />}
|
||||
</BundleContainer>
|
||||
|
|
Loading…
Reference in a new issue