mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 13:55:21 +02:00
fix(swarm): display node links when authentication is disabled (#1332)
This commit is contained in:
parent
77503b448e
commit
c4e75fc858
1 changed files with 2 additions and 2 deletions
|
@ -224,8 +224,8 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr dir-paginate="node in (state.filteredNodes = (nodes | filter:state.filter | orderBy:sortType:sortReverse | itemsPerPage: state.pagination_count))">
|
<tr dir-paginate="node in (state.filteredNodes = (nodes | filter:state.filter | orderBy:sortType:sortReverse | itemsPerPage: state.pagination_count))">
|
||||||
<td>
|
<td>
|
||||||
<a ui-sref="node({id: node.Id})" ng-if="isAdmin">{{ node.Hostname }}</a>
|
<a ui-sref="node({id: node.Id})" ng-if="!applicationState.application.authentication || isAdmin">{{ node.Hostname }}</a>
|
||||||
<span ng-if="!isAdmin">{{ node.Hostname }}</span>
|
<span ng-if="applicationState.application.authentication && !isAdmin">{{ node.Hostname }}</span>
|
||||||
</td>
|
</td>
|
||||||
<td>{{ node.Role }}</td>
|
<td>{{ node.Role }}</td>
|
||||||
<td>{{ node.CPUs / 1000000000 }}</td>
|
<td>{{ node.CPUs / 1000000000 }}</td>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue