Merge pull request #1140 from fheft/hide_saved_profile_tab

Only show 'saved' tab on own profile page
This commit is contained in:
SleeplessOne1917 2023-06-10 00:50:14 +00:00 committed by GitHub
commit ca74081a56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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>
);
}