Commit 28b5eb0a authored by Alexander N. Lunev's avatar Alexander N. Lunev

fix condition precedence

parent 150f22f6
......@@ -75,7 +75,7 @@ var service_logic = {
common.icon(obj, common) +
common.folder(obj, common) +
"<span>" + obj[name] + "</span>"
} else if (( (parent !== obj[name]) || (name == 'service') ) && obj[name] !== undefined ) {
} 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