Merge branch 'fix-0' into 'develop'
Fix "0" in place of ProfileFieldsPanel when no fields are set Closes #1453 See merge request soapbox-pub/soapbox!2590
This commit is contained in:
commit
362639759e
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ const ProfilePage: React.FC<IProfilePage> = ({ params, children }) => {
|
||||||
<BundleContainer fetchComponent={ProfileMediaPanel}>
|
<BundleContainer fetchComponent={ProfileMediaPanel}>
|
||||||
{Component => <Component account={account} />}
|
{Component => <Component account={account} />}
|
||||||
</BundleContainer>
|
</BundleContainer>
|
||||||
{account && account.fields.length && (
|
{(account && account.fields.length > 0) && (
|
||||||
<BundleContainer fetchComponent={ProfileFieldsPanel}>
|
<BundleContainer fetchComponent={ProfileFieldsPanel}>
|
||||||
{Component => <Component account={account} />}
|
{Component => <Component account={account} />}
|
||||||
</BundleContainer>
|
</BundleContainer>
|
||||||
|
|
Loading…
Reference in a new issue