1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-05 05:45:22 +02:00

fix(edge/groups): include only user trusted endpoints in endpoint count EE-5964 (#10378)

This commit is contained in:
matias-portainer 2023-10-02 11:37:39 -03:00 committed by GitHub
parent 56ab19433a
commit 671f74ce0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 34 additions and 7 deletions

View file

@ -56,9 +56,9 @@
<table-column-header
col-title="'Environments Count'"
can-sort="true"
is-sorted="$ctrl.state.orderBy === 'Endpoints.length'"
is-sorted-desc="$ctrl.state.orderBy === 'Endpoints.length' && $ctrl.state.reverseOrder"
ng-click="$ctrl.changeOrderBy('Endpoints.length')"
is-sorted="$ctrl.state.orderBy === 'TrustedEndpoints.length'"
is-sorted-desc="$ctrl.state.orderBy === 'TrustedEndpoints.length' && $ctrl.state.reverseOrder"
ng-click="$ctrl.changeOrderBy('TrustedEndpoints.length')"
></table-column-header>
</th>
<th>
@ -91,7 +91,7 @@
<a ui-sref="edge.groups.edit({groupId: item.Id})">{{ item.Name }}</a>
<span ng-if="item.HasEdgeStack || item.HasEdgeJob" class="label label-info image-tag space-left">in use</span>
</td>
<td>{{ item.Endpoints.length }}</td>
<td>{{ item.TrustedEndpoints.length }}</td>
<td>{{ item.Dynamic ? 'Dynamic' : 'Static' }}</td>
</tr>
<tr ng-if="!$ctrl.dataset">