Commit e15d4e0e authored by maxchaza's avatar maxchaza
Browse files

fix choose label

parent b22c9f32
......@@ -7,7 +7,7 @@
/**
* The version of the application.
*/
"version": "3.0.15",
"version": "3.0.16",
/**
* The relative path to the application's markup file (html, jsp, asp, etc.).
......@@ -357,6 +357,10 @@
"path": "resources/lib/functions/GraphPanel.js",
"bundle": true
},
{
"path": "resources/lib/functions/GraphPath.js",
"bundle": true
},
{
"path": "resources/lib/functions/GraphStyleEdition.js",
"bundle": true
......
......@@ -20,7 +20,7 @@ Ext.define('metExploreViz.view.form.label.LabelController', {
var session = _metExploreViz.getSessionById('viz');
var metabKeys;
metabKeys = Object.keys(session.getD3Data().getNodes().filter(function(n) {return n.getBiologicalType() === view.aStyleFormParent.biologicalType[0];}));
metabKeys = Object.keys(session.getD3Data().getNodes().filter(function(n) {return n.getBiologicalType() === view.aStyleFormParent.biologicalType;})[0]);
metabKeys = metabKeys.filter(function(key){
return key!=="isSideCompound" && key!=="reactionReversibility" && key!=="reactionReversibility" && key!=="selected" && key!=="duplicated" && key!=="labelVisible" &&
......
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