diff options
author | John Nduli | 2024-07-04 17:57:02 +0300 |
---|---|---|
committer | BonfaceKilz | 2024-07-05 14:39:17 +0300 |
commit | 081649943d14ef1ae2d6f635e9daf56c88a882c9 (patch) | |
tree | 3a88a6297f144cf99235f547ee85d4436d05c733 /gn2/wqflask/templates | |
parent | 5094280f55b06321bd1a34ffccc26d45de6d6a12 (diff) | |
download | genenetwork2-081649943d14ef1ae2d6f635e9daf56c88a882c9.tar.gz |
fix: show no_data instead of Loading when there is no results from search
Diffstat (limited to 'gn2/wqflask/templates')
-rw-r--r-- | gn2/wqflask/templates/gsearch_gene.html | 2 |
1 files changed, 2 insertions, 0 deletions
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("<td>No data</td>") } }); |