Add 'local' to account schema
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
@@ -17,7 +17,7 @@ import {
|
||||
AccountNotePanel,
|
||||
} from 'soapbox/features/ui/util/async-components';
|
||||
import { useAppSelector, useFeatures, useSoapboxConfig } from 'soapbox/hooks';
|
||||
import { getAcct, isLocal } from 'soapbox/utils/accounts';
|
||||
import { getAcct } from 'soapbox/utils/accounts';
|
||||
|
||||
interface IProfilePage {
|
||||
params?: {
|
||||
@@ -118,7 +118,7 @@ const ProfilePage: React.FC<IProfilePage> = ({ params, children }) => {
|
||||
{(account && account.fields.length > 0) && (
|
||||
<ProfileFieldsPanel account={account} />
|
||||
)}
|
||||
{(features.accountEndorsements && account && isLocal(account)) ? (
|
||||
{(features.accountEndorsements && account && account.local) ? (
|
||||
<PinnedAccountsPanel account={account} limit={5} />
|
||||
) : me && features.suggestions && (
|
||||
<WhoToFollowPanel limit={3} />
|
||||
|
||||
Reference in New Issue
Block a user