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

pinal 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 9344ee3b6 ATLAS-4600 : (UI)Add classification button appears for 
deleted hive_columns in Schema Tab of hive_table entity details page.
9344ee3b6 is described below

commit 9344ee3b6973efe987a3d1ba29615b91e3a72044
Author: Farhan Khan <[email protected]>
AuthorDate: Wed Aug 3 13:49:14 2022 +0530

    ATLAS-4600 : (UI)Add classification button appears for deleted hive_columns 
in Schema Tab of hive_table entity details page.
    
    Signed-off-by: Pinal Shah <[email protected]>
    (cherry picked from commit 28cf092a8afe15e55d3a3d73918437caab600bbb)
---
 dashboardv2/public/js/views/schema/SchemaLayoutView.js | 2 +-
 dashboardv3/public/js/views/schema/SchemaLayoutView.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dashboardv2/public/js/views/schema/SchemaLayoutView.js 
b/dashboardv2/public/js/views/schema/SchemaLayoutView.js
index ab776e9cf..efc8e9356 100644
--- a/dashboardv2/public/js/views/schema/SchemaLayoutView.js
+++ b/dashboardv2/public/js/views/schema/SchemaLayoutView.js
@@ -105,7 +105,7 @@ define(['require',
                     }
                     this.schemaCollection.find(function(item) {
                         var obj = item.toJSON();
-                        if (item.get('isEnable')) {
+                        if (item.get('isEnable') && item.get('status') === 
'ACTIVE') {
                             that.arr.push({
                                 id: obj.guid,
                                 model: obj
diff --git a/dashboardv3/public/js/views/schema/SchemaLayoutView.js 
b/dashboardv3/public/js/views/schema/SchemaLayoutView.js
index 79ddc573b..1ae75d922 100644
--- a/dashboardv3/public/js/views/schema/SchemaLayoutView.js
+++ b/dashboardv3/public/js/views/schema/SchemaLayoutView.js
@@ -105,7 +105,7 @@ define(['require',
                     }
                     this.schemaCollection.find(function(item) {
                         var obj = item.toJSON();
-                        if (item.get('isEnable')) {
+                        if (item.get('isEnable') && item.get('status') === 
'ACTIVE') {
                             that.arr.push({
                                 id: obj.guid,
                                 model: obj

Reply via email to