diff options
-rw-r--r-- | gn2/wqflask/templates/gsearch_gene.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gn2/wqflask/templates/gsearch_gene.html b/gn2/wqflask/templates/gsearch_gene.html index 50b48401..ffab9b8c 100644 --- a/gn2/wqflask/templates/gsearch_gene.html +++ b/gn2/wqflask/templates/gsearch_gene.html @@ -258,8 +258,10 @@ "scroller": true {% endif %} } - - create_table(tableId, traitsJson, columnDefs, tableSettings); + + if traitsJson.length > 0 { + create_table(tableId, traitsJson, columnDefs, tableSettings); + } }); |