Skip to content

Commit

Permalink
Fixed incorrect redirect when pressed on you link
Browse files Browse the repository at this point in the history
  • Loading branch information
SauliusStankevicius committed Jan 13, 2022
1 parent 2884c38 commit b8f642b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
</span>

<span ng-if="user">
<a ng-if="positionedLikes.length === 1" ui-sref="Root.WithOrg.Client.Profiles.Details({ id: positionedLikes[0].userId })">{{positionedLikes[0].fullName}}</a>
<a ng-if="positionedLikes.length > 1" ui-sref="Root.WithOrg.Client.Profiles.Details({ id: positionedLikes[0].userId })" translate="common.you"></a>
<a ng-if="positionedLikes.length === 1" ui-sref="Root.WithOrg.Client.Profiles.Details({ id: user.userId })">{{user.fullName}}</a>
<a ng-if="positionedLikes.length > 1" ui-sref="Root.WithOrg.Client.Profiles.Details({ id: user.userId })" translate="common.you"></a>

<span ng-if="positionedLikes.length > 1">
<span translate="common.and"></span>
Expand Down

0 comments on commit b8f642b

Please sign in to comment.