Repository: atlas Updated Branches: refs/heads/branch-0.8 41b48c82f -> a48249e0b
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/a48249e0 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/a48249e0 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/a48249e0 Branch: refs/heads/branch-0.8 Commit: a48249e0b2f3068d61a6b973a3c7280abe6e4395 Parents: 41b48c8 Author: kevalbhatt <[email protected]> Authored: Fri Jan 4 11:33:25 2019 +0530 Committer: kevalbhatt <[email protected]> Committed: Fri Jan 4 17:28:42 2019 +0530 ---------------------------------------------------------------------- .../public/js/templates/search/SearchResultLayoutView_tmpl.html | 2 +- dashboardv2/public/js/views/search/SearchResultLayoutView.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/atlas/blob/a48249e0/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 9a39289..2f0e0d5 100644 --- a/dashboardv2/public/js/templates/search/SearchResultLayoutView_tmpl.html +++ b/dashboardv2/public/js/templates/search/SearchResultLayoutView_tmpl.html @@ -55,7 +55,7 @@ </div> </div> <div id="r_searchResultTableLayoutView"> - <h1><b>{{searchType}}</b></h1> + {{#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 http://git-wip-us.apache.org/repos/asf/atlas/blob/a48249e0/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 80a1f4e..41c069a 100644 --- a/dashboardv2/public/js/views/search/SearchResultLayoutView.js +++ b/dashboardv2/public/js/views/search/SearchResultLayoutView.js @@ -77,7 +77,8 @@ define(['require', entityCreate: Globals.entityCreate, searchType: this.searchType, taxonomy: Globals.taxonomy, - fromView: this.fromView + fromView: this.fromView, + isSearchTab: Utils.getUrlState.isSearchTab() }; }, /** ui events hash */
