This is an automated email from the ASF dual-hosted git repository.

ppawar 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 d5d289bfb ATLAS-4898 : (New UI)Deleting a glossary with a term in it 
results in hanging
d5d289bfb is described below

commit d5d289bfbe03ff1ac5fb672dd2c3de52f4b16550
Author: Farhan Khan <farhan.k...@cloudera.com>
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 <prasad.pa...@cloudera.com>
---
 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);

Reply via email to