This is an automated email from the ASF dual-hosted git repository.
pinal pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/master by this push:
new 4226d82 ATLAS-4506-2-(New UI): While a glossary with large number of
terms is getting loaded, search from new UI doesn't work
4226d82 is described below
commit 4226d82d860374681cd8657dcda5a856380b9bad
Author: Farhan Khan <[email protected]>
AuthorDate: Fri Dec 17 16:28:53 2021 +0530
ATLAS-4506-2-(New UI): While a glossary with large number of terms is
getting loaded, search from new UI doesn't work
Signed-off-by: Pinal Shah <[email protected]>
---
dashboardv3/public/js/views/search/tree/GlossaryTreeLayoutView.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dashboardv3/public/js/views/search/tree/GlossaryTreeLayoutView.js
b/dashboardv3/public/js/views/search/tree/GlossaryTreeLayoutView.js
index e58b177..b01ff1f 100644
--- a/dashboardv3/public/js/views/search/tree/GlossaryTreeLayoutView.js
+++ b/dashboardv3/public/js/views/search/tree/GlossaryTreeLayoutView.js
@@ -196,7 +196,9 @@ define([
this.options.value = {};
}
if (!this.options.value.term && this.options.value.gType !=
'category') {
- this.ui.termSearchTree.jstree(true).deselect_all();
+ if (this.ui.termSearchTree.jstree(true)) {
+ this.ui.termSearchTree.jstree(true).deselect_all();
+ }
this.glossaryTermId = null;
} else {
if (this.options.value.term) {