aboutsummaryrefslogtreecommitdiff
path: root/gn2
diff options
context:
space:
mode:
Diffstat (limited to 'gn2')
-rw-r--r--gn2/wqflask/static/new/javascript/get_traits_from_collection.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/gn2/wqflask/static/new/javascript/get_traits_from_collection.js b/gn2/wqflask/static/new/javascript/get_traits_from_collection.js
index c115f3b0..6968a9d7 100644
--- a/gn2/wqflask/static/new/javascript/get_traits_from_collection.js
+++ b/gn2/wqflask/static/new/javascript/get_traits_from_collection.js
@@ -389,7 +389,11 @@ process_traits = function(trait_data, textStatus, jqXHR) {
the_html += "<td class='trait' data-display_name='" + trait.name + "'>" + trait.name + "</td>";
}
the_html += "<td class='dataset' data-dataset='" + trait.dataset + "'>" + trait.dataset_name + "</td>";
- the_html += "<td class='description'>" + trait.description + "</td>";
+ if (trait.dataset.includes('Geno')) {
+ the_html += "<td class='description'>" + trait.location + "</td>";
+ } else {
+ the_html += "<td class='description'>" + trait.description + "</td>";
+ }
}
the_html += "</tbody>";
the_html += "</table>";