Default to hiding Likes tab

This commit is contained in:
oakes 2023-07-31 13:29:27 -04:00
parent 5a988cb528
commit 0a7d0105ff

View file

@ -62,7 +62,7 @@ const ProfilePage: React.FC<IProfilePage> = ({ params, children }) => {
if (account) { if (account) {
const ownAccount = account.id === me; const ownAccount = account.id === me;
if (ownAccount || account.pleroma?.hide_favorites !== true) { if (ownAccount || account.pleroma?.hide_favorites === false) {
tabItems.push({ tabItems.push({
text: <FormattedMessage id='navigation_bar.favourites' defaultMessage='Likes' />, text: <FormattedMessage id='navigation_bar.favourites' defaultMessage='Likes' />,
to: `/@${account.acct}/favorites`, to: `/@${account.acct}/favorites`,