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 4a0b9092e ATLAS-4793: (UI) Search Issues
4a0b9092e is described below
commit 4a0b9092e92dd9d989b4f98e3612aaaff120df9d
Author: Farhan Khan <[email protected]>
AuthorDate: Wed Sep 13 20:29:45 2023 +0530
ATLAS-4793: (UI) Search Issues
Signed-off-by: Prasad Pawar <[email protected]>
---
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,