Repository: atlas
Updated Branches:
  refs/heads/master a5f971a32 -> 400385891


ATLAS-3018 : UI - classification search table shows then Basic search text with 
loader which is incorrect


Project: http://git-wip-us.apache.org/repos/asf/atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/40038589
Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/40038589
Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/40038589

Branch: refs/heads/master
Commit: 4003858919bfff58d55479cbb2f2a79b5f4e9826
Parents: a5f971a
Author: kevalbhatt <kbh...@apache.org>
Authored: Fri Jan 4 11:29:10 2019 +0530
Committer: kevalbhatt <kbh...@apache.org>
Committed: Fri Jan 4 17:29:21 2019 +0530

----------------------------------------------------------------------
 .../public/js/templates/search/SearchResultLayoutView_tmpl.html   | 3 ++-
 dashboardv2/public/js/views/search/SearchResultLayoutView.js      | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/atlas/blob/40038589/dashboardv2/public/js/templates/search/SearchResultLayoutView_tmpl.html
----------------------------------------------------------------------
diff --git 
a/dashboardv2/public/js/templates/search/SearchResultLayoutView_tmpl.html 
b/dashboardv2/public/js/templates/search/SearchResultLayoutView_tmpl.html
index 6675664..b10a0b8 100644
--- a/dashboardv2/public/js/templates/search/SearchResultLayoutView_tmpl.html
+++ b/dashboardv2/public/js/templates/search/SearchResultLayoutView_tmpl.html
@@ -53,7 +53,8 @@
                 </div>
             </div>
             <div id="r_searchResultTableLayoutView">
-                <h1><b>{{searchType}}</b></h1> {{#if entityCreate}}
+                {{#if isSearchTab}}<h1><b>{{searchType}}</b></h1>{{/if}}
+                {{#if entityCreate}}
                 <div class="entityLink" style="display:none">
                     <p class="entityLink">Search Atlas for existing entities or
                         <a href="javascript:void(0)" data-id='createEntity'> 
create new entity </a>

http://git-wip-us.apache.org/repos/asf/atlas/blob/40038589/dashboardv2/public/js/views/search/SearchResultLayoutView.js
----------------------------------------------------------------------
diff --git a/dashboardv2/public/js/views/search/SearchResultLayoutView.js 
b/dashboardv2/public/js/views/search/SearchResultLayoutView.js
index 38a5de8..83e88f2 100644
--- a/dashboardv2/public/js/views/search/SearchResultLayoutView.js
+++ b/dashboardv2/public/js/views/search/SearchResultLayoutView.js
@@ -75,7 +75,8 @@ define(['require',
                 return {
                     entityCreate: Globals.entityCreate,
                     searchType: this.searchType,
-                    fromView: this.fromView
+                    fromView: this.fromView,
+                    isSearchTab: Utils.getUrlState.isSearchTab()
                 };
             },
             /** ui events hash */

Reply via email to