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 4c0b47a47 ATLAS-4793: (UI) Search Issues 4c0b47a47 is described below commit 4c0b47a476c563c4243e491e31d1da2fc04133c4 Author: Farhan Khan <farhan.k...@freestoneinfotech.com> AuthorDate: Wed Sep 13 20:29:45 2023 +0530 ATLAS-4793: (UI) Search Issues Signed-off-by: Prasad Pawar <prasad.pa...@cloudera.com> --- dashboardv2/public/js/views/search/SearchResultLayoutView.js | 2 +- dashboardv3/public/js/views/search/SearchResultLayoutView.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboardv2/public/js/views/search/SearchResultLayoutView.js b/dashboardv2/public/js/views/search/SearchResultLayoutView.js index 03b9d5947..9dde943fa 100644 --- a/dashboardv2/public/js/views/search/SearchResultLayoutView.js +++ b/dashboardv2/public/js/views/search/SearchResultLayoutView.js @@ -701,7 +701,7 @@ define(['require', }), businessAttributeDefs, that = this; - businessAttributeDefs = def.get('businessAttributeDefs'); + businessAttributeDefs = def ? def.get('businessAttributeDefs') : null; if (businessAttributeDefs) { _.each( businessAttributeDefs, diff --git a/dashboardv3/public/js/views/search/SearchResultLayoutView.js b/dashboardv3/public/js/views/search/SearchResultLayoutView.js index 2d3d212a1..07bb87818 100644 --- a/dashboardv3/public/js/views/search/SearchResultLayoutView.js +++ b/dashboardv3/public/js/views/search/SearchResultLayoutView.js @@ -713,7 +713,7 @@ define(['require', }), businessAttributeDefs, that = this; - businessAttributeDefs = def.get('businessAttributeDefs'); + businessAttributeDefs = def ? def.get('businessAttributeDefs') : null; if (businessAttributeDefs) { _.each( businessAttributeDefs,