mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-30 17:11:43 +00:00
Merge pull request #1140 from fheft/hide_saved_profile_tab
Only show 'saved' tab on own profile page
This commit is contained in:
commit
ca74081a56
|
@ -317,7 +317,7 @@ export class Profile extends Component<
|
||||||
{this.getRadio(PersonDetailsView.Overview)}
|
{this.getRadio(PersonDetailsView.Overview)}
|
||||||
{this.getRadio(PersonDetailsView.Comments)}
|
{this.getRadio(PersonDetailsView.Comments)}
|
||||||
{this.getRadio(PersonDetailsView.Posts)}
|
{this.getRadio(PersonDetailsView.Posts)}
|
||||||
{this.getRadio(PersonDetailsView.Saved)}
|
{this.amCurrentUser && this.getRadio(PersonDetailsView.Saved)}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue