Skip to content

Commit

Permalink
#1316 Display user profile using .profile instead of .role
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed May 23, 2020
1 parent 26fd8d2 commit 94c9f07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/app/views/components/org/orgSwitch.modal.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h3 class="modal-title"><i class="fa fa-random"></i> Switch organisation</h3>
ng-class="{'active': $dialog.currentUser.organisation === item.organisation}"
ng-repeat="item in $dialog.currentUser.organisations | filter:$modal.filter track by $index">
<h4 class="list-group-item-heading">{{item.organisation}} <em class="pull-right" ng-if="$dialog.currentUser.organisation === item.organisation">(current)</em></h4>
<p class="list-group-item-text">Profile: <strong>{{item.role}}</strong></p>
<p class="list-group-item-text">Profile: <strong>{{item.profile}}</strong></p>
</a>
</div>
</ul>
Expand Down

0 comments on commit 94c9f07

Please sign in to comment.