Do not show application token listing if there is nothing to show
This commit is contained in:
@@ -153,10 +153,12 @@
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<p>You are logged {{ activeTokenCount }} times into applications, including this session.</p>
|
||||
<hr/>
|
||||
<h4>Active Applications:</h4>
|
||||
<p ng-repeat="client in activeClients"><b>{{ client.name }} ({{client.activeTokens.length}} times)</b></p>
|
||||
<hr/>
|
||||
<span ng-show="activeTokenCount > 1">
|
||||
<hr/>
|
||||
<h4>Active Applications:</h4>
|
||||
<p ng-repeat="client in activeClients"><b>{{ client.name }} ({{client.activeTokens.length}} times)</b></p>
|
||||
<hr/>
|
||||
</span>
|
||||
<button class="btn btn-outline btn-xs btn-danger pull-right" ng-click="revokeTokens()">Revoke access to all</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user