From 081649943d14ef1ae2d6f635e9daf56c88a882c9 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(+) (limited to 'gn2/wqflask') 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("