Skip to content

Commit

Permalink
Merge pull request #188 from VismaLietuva/change-how-current-likes-ar…
Browse files Browse the repository at this point in the history
…e-shown

Fixed incorrect redirect when pressed on you link
  • Loading branch information
SauliusStankevicius authored Jan 13, 2022
2 parents 2884c38 + b8f642b commit 64ca6ed
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 64ca6ed

Please sign in to comment.