diff options
author | zsloan | 2021-04-09 17:44:48 +0000 |
---|---|---|
committer | zsloan | 2021-04-09 17:44:48 +0000 |
commit | 6919d7cf68555d9ea3a260d328815cd66e3be1d7 (patch) | |
tree | 3e18a00af1dbde41192dc25aa2dc814a07085744 | |
parent | 9fa88673447ab13dcd1b899c0e6c2c5915dd0114 (diff) | |
download | genenetwork2-6919d7cf68555d9ea3a260d328815cd66e3be1d7.tar.gz |
Changed connditional in show_trait.js to check categorical_attr_exists instead of just checking if there are case attributes
-rw-r--r-- | wqflask/wqflask/static/new/javascript/show_trait.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/static/new/javascript/show_trait.js b/wqflask/wqflask/static/new/javascript/show_trait.js index 9d356570..6e9d68c4 100644 --- a/wqflask/wqflask/static/new/javascript/show_trait.js +++ b/wqflask/wqflask/static/new/javascript/show_trait.js @@ -634,7 +634,7 @@ populate_sample_attributes_values_dropdown = function() { return _results; }; -if (Object.keys(js_data.attributes).length){ +if (js_data.categorical_attr_exists == "true"){ populate_sample_attributes_values_dropdown(); } |