Commit 2f85ed4f authored by Aleksey Shirokih's avatar Aleksey Shirokih

Merge branch 'fix_service_eq_node2' into 'master'

Fix service == node bug

See merge request noc/tower!24
parents 8560123f 28b5eb0a
Pipeline #10761 failed with stages
in 23 seconds
......@@ -3,6 +3,7 @@
* Add TOWER_SSH_KEY_PATH var. Should be used to specify ssh key in case of ed25519 and other types.
* Ansible version bumped to 2.7
* Fix node name == service name bug
## 0.4.4 (2018-08-25)
### Release Notes
......
......@@ -75,7 +75,7 @@ var service_logic = {
common.icon(obj, common) +
common.folder(obj, common) +
"<span>" + obj[name] + "</span>"
} else if (parent !== obj[name]) {
} else if ( obj[name] !== undefined && ( (parent !== obj[name]) || (name == 'service') ) ) {
return obj[name];
} else {
return ""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment