fixing account setting login thing

This commit is contained in:
Jon Lambson 2017-09-13 16:56:38 -06:00
parent ffef89e778
commit 0611d314b2
1 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@
<span ng-bind="session.subject"></span>
<p class="text-muted small" ng-bind="session.issuer"></p>
<div class="divider"></div>
<button type="button" class="btn btn-default" disabled ng-if="vm.session.subject == session.subject">Current Profile</button>
<button type="button" class="btn btn-default" disabled ng-if="vm.session.subject == session.subject && vm.session.issuer == session.issuer">Current Profile</button>
</div>
</div>
</div>
@ -56,7 +56,7 @@
<a class="btn btn-default btn-sm" ng-click="vm.selectSession(session);">Use Account</a>
</div>
<div class="col-md-6">
<a class="btn btn-default btn-sm pull-right" ng-if="vm.session.subject == session.subject" ng-click="vm.signOut()">Sign Out</a>
<a class="btn btn-default btn-sm pull-right" ng-if="vm.session.subject == session.subject && vm.session.issuer == session.issuer" ng-click="vm.signOut()">Sign Out</a>
</div>
</div>
</div>