aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();
}