diff --git a/js/app/models/AmdaNode.js b/js/app/models/AmdaNode.js index 4fba647..46d4311 100644 --- a/js/app/models/AmdaNode.js +++ b/js/app/models/AmdaNode.js @@ -127,10 +127,10 @@ Ext.define('amdaModel.AmdaNode', { itemKind = amdaUI.ExplorerUI.ITEM_KIND_ROOT; } // if this node is a leaf and have no child - else if (this.isLeaf() || this.get('nodeType' ) == 'derivedParam' ) { + else if (this.isLeaf() ) { itemKind = amdaUI.ExplorerUI.ITEM_KIND_LEAF; } - else if (this.get('isParameter') && this.get('nodeType' ) != 'derivedParam' ) { + else if (this.get('isParameter')) { itemKind = amdaUI.ExplorerUI.ITEM_KIND_PARA; } else if (this.get('rank')) { -- libgit2 0.21.2