This is an automated email from the ASF dual-hosted git repository.
kbhatt pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new d32b78b ATLAS-3156 : Assign term/category loader not disappearing
d32b78b is described below
commit d32b78b75f4ba64050ce9e049eefd0e73e64336f
Author: kevalbhatt <[email protected]>
AuthorDate: Sat Mar 28 12:11:00 2020 +0530
ATLAS-3156 : Assign term/category loader not disappearing
(cherry picked from commit 22ca98b04cb8c66c60ca1f688029d2fe9682e7af)
---
dashboardv2/public/js/views/glossary/GlossaryLayoutView.js | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/dashboardv2/public/js/views/glossary/GlossaryLayoutView.js
b/dashboardv2/public/js/views/glossary/GlossaryLayoutView.js
index 93e02f8..030a939 100644
--- a/dashboardv2/public/js/views/glossary/GlossaryLayoutView.js
+++ b/dashboardv2/public/js/views/glossary/GlossaryLayoutView.js
@@ -472,7 +472,10 @@ define(['require',
treeLoaded = function(options) {
if (that.query[options.type].isNodeNotFoundAtLoad ==
true) {
var id = that.glossary.selectedItem.guid;
- options.$el.jstree('activate_node', id);
+ if (id) {
+ options.$el.jstree('activate_node', id);
+ }
+ that.changeLoaderState(false);
}
},
createAction = function(options) {