From d8ee9cbb0c011006b6fc6a24f6e08e0036d8cacf Mon Sep 17 00:00:00 2001 From: Hacene SI HADJ MOHAND <hacene.si-hadj-mohand@akka.eu> Date: Wed, 23 Sep 2020 17:49:17 +0200 Subject: [PATCH] selection ok --- js/app/models/AmdaNode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/app/models/AmdaNode.js b/js/app/models/AmdaNode.js index 690a7a8..94c30f8 100644 --- a/js/app/models/AmdaNode.js +++ b/js/app/models/AmdaNode.js @@ -127,7 +127,7 @@ 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' && this.get('isParameter')) ) { + else if (this.isLeaf() || ( (this.get('nodeType' ) == 'derivedParam' || this.get('nodeType' ) == 'myDataParam' ) && this.get('isParameter')) ) { itemKind = amdaUI.ExplorerUI.ITEM_KIND_LEAF; } else if (this.get('isParameter') && this.get('nodeType' ) != 'derivedParam' ) { -- libgit2 0.21.2