This is an automated email from the ASF dual-hosted git repository.

kbhatt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git

commit fd1aad38fb762b07ee225ffae002e980658e85fd
Author: kevalbhatt <[email protected]>
AuthorDate: Thu Feb 20 15:40:43 2020 +0530

    ATLAS-3627:Beta UI, Usability: Classifications default toggle set to show 
only classifications associated to entity
---
 .../js/templates/search/tree/ClassificationTreeLayoutView_tmpl.html     | 2 +-
 dashboardv3/public/js/views/search/tree/ClassificationTreeLayoutView.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/dashboardv3/public/js/templates/search/tree/ClassificationTreeLayoutView_tmpl.html
 
b/dashboardv3/public/js/templates/search/tree/ClassificationTreeLayoutView_tmpl.html
index d0d4c0b..54e3a4b 100644
--- 
a/dashboardv3/public/js/templates/search/tree/ClassificationTreeLayoutView_tmpl.html
+++ 
b/dashboardv3/public/js/templates/search/tree/ClassificationTreeLayoutView_tmpl.html
@@ -22,7 +22,7 @@
             <button type="button" class="typeRefresh drop-down-menu-view" 
data-id="refreshTree" data-type="classification" title="Refresh">
                 <i class="fa fa-refresh"></i>
             </button>
-            <button type="button" class="typeRefresh drop-down-menu-view" 
data-id="showEmptyClassifications" title="Show unused classification">
+            <button type="button" class="typeRefresh drop-down-menu-view" 
data-id="showEmptyClassifications" title="Hide unused classification">
                 <i class="fa fa-toggle-off"></i>
             </button>
             <button type="button" class="typeRefresh dropdown">
diff --git 
a/dashboardv3/public/js/views/search/tree/ClassificationTreeLayoutView.js 
b/dashboardv3/public/js/views/search/tree/ClassificationTreeLayoutView.js
index 5c2026b..78a8b24 100644
--- a/dashboardv3/public/js/views/search/tree/ClassificationTreeLayoutView.js
+++ b/dashboardv3/public/js/views/search/tree/ClassificationTreeLayoutView.js
@@ -142,7 +142,7 @@ define([
             );
             this.bindEvents();
             this.entityCountObj = _.first(this.metricCollection.toJSON());
-            this.isEmptyClassification = true;
+            this.isEmptyClassification = false;
             this.entityTreeData = {};
             this.tagId = null;
             this.isGroupView = true;

Reply via email to