diff --git a/js/app/models/AmdaNode.js b/js/app/models/AmdaNode.js index 46d4311..690a7a8 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() ) { + else if (this.isLeaf() || ( this.get('nodeType' ) == 'derivedParam' && this.get('isParameter')) ) { itemKind = amdaUI.ExplorerUI.ITEM_KIND_LEAF; } - else if (this.get('isParameter')) { + else if (this.get('isParameter') && this.get('nodeType' ) != 'derivedParam' ) { itemKind = amdaUI.ExplorerUI.ITEM_KIND_PARA; } else if (this.get('rank')) { -- libgit2 0.21.2