From 5fdcf24585ebff01b36d59d0ce1955cfc90fb482 Mon Sep 17 00:00:00 2001 From: zsloan Date: Mon, 4 Jan 2021 13:53:08 -0600 Subject: Only show Add button and run change_buttons function when genotypes are databased --- wqflask/wqflask/templates/mapping_results.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wqflask') diff --git a/wqflask/wqflask/templates/mapping_results.html b/wqflask/wqflask/templates/mapping_results.html index 022e9f6a..985d542c 100644 --- a/wqflask/wqflask/templates/mapping_results.html +++ b/wqflask/wqflask/templates/mapping_results.html @@ -248,7 +248,7 @@ - + {% if geno_db_exists == "True" %}{% endif %}

@@ -386,7 +386,7 @@ } else { $(this).addClass("selected") } - change_buttons(check_node=1) + {% if geno_db_exists == "True" %}change_buttons(check_node=1){% endif %} }); }, "columns": [ -- cgit v1.2.3