about summary refs log tree commit diff
diff options
context:
space:
mode:
-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">