From 5846772bc355853abc57967eb496e5a236f88594 Mon Sep 17 00:00:00 2001 From: John Nduli Date: Thu, 4 Jul 2024 17:57:02 +0300 Subject: fix: show no_data instead of Loading when there is no results from search --- gn2/wqflask/templates/gsearch_gene.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gn2/wqflask/templates/gsearch_gene.html b/gn2/wqflask/templates/gsearch_gene.html index c5575699..3432662d 100644 --- a/gn2/wqflask/templates/gsearch_gene.html +++ b/gn2/wqflask/templates/gsearch_gene.html @@ -261,6 +261,8 @@ if (traitsJson.length > 0) { create_table(tableId, traitsJson, columnDefs, tableSettings); + } else { + $("#" + tableId +" td").replaceWith("