mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 05:19:39 +02:00
feat(nodes): display node name when available (#2328)
- check if the name of a node is available, otherwise default to the Hostname
This commit is contained in:
parent
575735a6f7
commit
f6d9a4c7c1
2 changed files with 3 additions and 3 deletions
|
@ -84,7 +84,7 @@
|
|||
<div class="node_info">
|
||||
<div>
|
||||
<div>
|
||||
<b>{{ node.Hostname }}</b>
|
||||
<b>{{ node.Name || node.Hostname }}</b>
|
||||
<span class="node_platform">
|
||||
<i class="fab fa-linux" aria-hidden="true" ng-if="node.PlatformOS === 'linux'"></i>
|
||||
<i class="fab fa-windows" aria-hidden="true" ng-if="node.PlatformOS === 'windows'"></i>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue