aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2021-04-09 17:44:48 +0000
committerzsloan2021-04-09 17:44:48 +0000
commit6919d7cf68555d9ea3a260d328815cd66e3be1d7 (patch)
tree3e18a00af1dbde41192dc25aa2dc814a07085744 /wqflask
parent9fa88673447ab13dcd1b899c0e6c2c5915dd0114 (diff)
downloadgenenetwork2-6919d7cf68555d9ea3a260d328815cd66e3be1d7.tar.gz
Changed connditional in show_trait.js to check categorical_attr_exists instead of just checking if there are case attributes
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/static/new/javascript/show_trait.js2
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();
}