Revert "fix(swarm): display node links when authentication is disabled #1320" (#1326)

This reverts commit 089d2cf0fe.
pull/1186/merge
Anthony Lapenna 7 years ago committed by GitHub
parent 089d2cf0fe
commit 514da445a4

@ -224,8 +224,8 @@
<tbody>
<tr dir-paginate="node in (state.filteredNodes = (nodes | filter:state.filter | orderBy:sortType:sortReverse | itemsPerPage: state.pagination_count))">
<td>
<a ui-sref="node({id: node.Id})" ng-if="!applicationState.application.authentication || isAdmin">{{ node.Hostname }}</a>
<span ng-if="applicationState.application.authentication && !isAdmin">{{ node.Hostname }}</span>
<a ui-sref="node({id: node.Id})" ng-if="isAdmin">{{ node.Hostname }}</a>
<span ng-if="!isAdmin">{{ node.Hostname }}</span>
</td>
<td>{{ node.Role }}</td>
<td>{{ node.CPUs / 1000000000 }}</td>

Loading…
Cancel
Save