mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-28 19:20:21 +00:00
Only show 'saved' tab on own profile page
* Users can't view saved posts of other users. * fixes #1090
This commit is contained in:
parent
5e51441ce7
commit
b54be0586d
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue