GUACAMOLE-723: Move getClientIdentifier() to GroupListItem for convenience of other uses of the guacGroupList directive.

This commit is contained in:
Michael Jumper
2018-11-12 10:08:36 -08:00
parent 2d0bc70214
commit f92bf9c35f
6 changed files with 50 additions and 53 deletions

View File

@@ -1,5 +1,5 @@
<a class="home-connection"
ng-href="#/client/{{context.getClientIdentifier(item)}}"
ng-href="#/client/{{ item.getClientIdentifier() }}"
ng-class="{active: item.getActiveConnections()}">
<!-- Connection icon -->

View File

@@ -1,4 +1,4 @@
<span class="home-connection-group name">
<a ng-show="item.balancing" ng-href="#/client/{{context.getClientIdentifier(item)}}">{{item.name}}</a>
<a ng-show="item.balancing" ng-href="#/client/{{ getClientIdentifier() }}">{{item.name}}</a>
<span ng-show="!item.balancing">{{item.name}}</span>
</span>

View File

@@ -23,7 +23,6 @@
</div>
<div class="all-connections">
<guac-group-list
context="context"
connection-groups="filteredRootConnectionGroups"
templates="{
'connection' : 'app/home/templates/connection.html',