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 827cbc646 ATLAS-4695:UI: Clicking on term assigned to deleted entity in entity details page results in error. 827cbc646 is described below commit 827cbc646e211bca625fb18990ce2d9ad7ec4f83 Author: Prasad Pawar <prasad.pa...@freestoneinfotech.com> AuthorDate: Thu Nov 3 15:25:08 2022 +0530 ATLAS-4695:UI: Clicking on term assigned to deleted entity in entity details page results in error. Signed-off-by: Prasad Pawar <prasad.pa...@freestoneinfotech.com> --- dashboardv2/public/js/views/detail_page/DetailPageLayoutView.js | 2 +- dashboardv3/public/js/views/detail_page/DetailPageLayoutView.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboardv2/public/js/views/detail_page/DetailPageLayoutView.js b/dashboardv2/public/js/views/detail_page/DetailPageLayoutView.js index 33addf5ec..428485315 100644 --- a/dashboardv2/public/js/views/detail_page/DetailPageLayoutView.js +++ b/dashboardv2/public/js/views/detail_page/DetailPageLayoutView.js @@ -100,7 +100,7 @@ define(['require', }; events["click " + this.ui.termClick] = function(e) { if ((e.target.nodeName.toLocaleLowerCase() != "i") && (!$(e.target).hasClass("parent-list-btn")) && (!$(e.target).hasClass("fa"))) { - var guid = $(e.currentTarget).find('.fa-close').data('guid'), + var guid = $(e.currentTarget).find('i').data('guid'), gType = "term"; Utils.setUrl({ url: '#!/glossary/' + guid, diff --git a/dashboardv3/public/js/views/detail_page/DetailPageLayoutView.js b/dashboardv3/public/js/views/detail_page/DetailPageLayoutView.js index 6b04b1bae..940b5b769 100644 --- a/dashboardv3/public/js/views/detail_page/DetailPageLayoutView.js +++ b/dashboardv3/public/js/views/detail_page/DetailPageLayoutView.js @@ -101,7 +101,7 @@ define(['require', }; events["click " + this.ui.termClick] = function(e) { if ((e.target.nodeName.toLocaleLowerCase() != "i") && (!$(e.target).hasClass("parent-list-btn")) && (!$(e.target).hasClass("fa"))) { - var guid = $(e.currentTarget).find('.fa-close').data('guid'), + var guid = $(e.currentTarget).find('i').data('guid'), gType = "term"; Utils.setUrl({ url: '#!/glossary/' + guid,