Only show 'saved' tab on own profile page

* Users can't view saved posts of other users.
* fixes #1090
This commit is contained in:
Florian Heft 2023-06-10 01:08:08 +02:00
parent 5e51441ce7
commit b54be0586d

View file

@ -317,7 +317,7 @@ export class Profile extends Component<
{this.getRadio(PersonDetailsView.Overview)}
{this.getRadio(PersonDetailsView.Comments)}
{this.getRadio(PersonDetailsView.Posts)}
{this.getRadio(PersonDetailsView.Saved)}
{this.amCurrentUser && this.getRadio(PersonDetailsView.Saved)}
</div>
);
}