This is an automated email from the ASF dual-hosted git repository.
ppawar 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 5cae67db0 ATLAS-4898 : (New UI)Deleting a glossary with a term in it
results in hanging
5cae67db0 is described below
commit 5cae67db0d1068ac0f0725854dbacf116b7e20bc
Author: Farhan Khan <[email protected]>
AuthorDate: Fri Nov 1 21:05:25 2024 +0530
ATLAS-4898 : (New UI)Deleting a glossary with a term in it results in
hanging
Signed-off-by: Prasad Pawar <[email protected]>
---
dashboardv3/public/js/views/search/tree/GlossaryTreeLayoutView.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dashboardv3/public/js/views/search/tree/GlossaryTreeLayoutView.js
b/dashboardv3/public/js/views/search/tree/GlossaryTreeLayoutView.js
index 7254e5c74..05756bbd8 100644
--- a/dashboardv3/public/js/views/search/tree/GlossaryTreeLayoutView.js
+++ b/dashboardv3/public/js/views/search/tree/GlossaryTreeLayoutView.js
@@ -620,7 +620,7 @@ define([
term: null
};
that.glossaryTermId = null;
- if (that.options.value.gType == "category") {
+ if (that.options.value && that.options.value.gType ==
"category") {
that.showDefaultPage();
} else {
searchParam = _.extend({}, that.options.value,
params);