Default to hiding Likes tab
This commit is contained in:
parent
5a988cb528
commit
0a7d0105ff
1 changed files with 1 additions and 1 deletions
|
@ -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`,
|
||||||
|
|
Loading…
Reference in a new issue