aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask
diff options
context:
space:
mode:
authorAlexander_Kabui2024-01-25 14:13:17 +0300
committerAlexander_Kabui2024-01-25 14:13:17 +0300
commit8a0d3042e5444bdf8469b0ec3311b8fa49223c96 (patch)
tree6ee594fc6c41759da44da516e33952e1cf6f5b87 /gn2/wqflask
parent93bb80edd462acb3e0ba87468e7fa155305b5475 (diff)
downloadgenenetwork2-8a0d3042e5444bdf8469b0ec3311b8fa49223c96.tar.gz
fix issue loading gnqa prev queries on base file
Diffstat (limited to 'gn2/wqflask')
-rw-r--r--gn2/wqflask/templates/base.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/gn2/wqflask/templates/base.html b/gn2/wqflask/templates/base.html
index e0a1c7be..a84600f9 100644
--- a/gn2/wqflask/templates/base.html
+++ b/gn2/wqflask/templates/base.html
@@ -248,6 +248,7 @@ required placeholder="Ask More Questions or Topics (E.g Genes) " value='' name="
<form></form>
</div>
<div>
+ {% if prev_queries %}
<div >
{% for search in prev_queries[:8] %}
@@ -260,8 +261,12 @@ required placeholder="Ask More Questions or Topics (E.g Genes) " value='' name="
{% endfor %}
</div>
+
+
+ {% endif %}
</div>
+
</div>
<div class="modal-footer">