Skip to content

Commit

Permalink
#1741 Use org id inseatd of org name as X-Organisation header value
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed Mar 2, 2021
1 parent fb40f33 commit 9c28d5c
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 @@ -15,7 +15,7 @@ <h3 class="modal-title"><i class="fa fa-random"></i> Switch organisation</h3>

<ul class="nav nav-pills nav-stacked">
<div class="list-group">
<a href ng-click="$dialog.selectOrg(item.organisation)" class="list-group-item"
<a href ng-click="$dialog.selectOrg(item.organisationId)" class="list-group-item"
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>
Expand Down

0 comments on commit 9c28d5c

Please sign in to comment.