This is an automated email from the ASF dual-hosted git repository.
pinal pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/master by this push:
new 28cf092a8 ATLAS-4600 : (UI)Add classification button appears for
deleted hive_columns in Schema Tab of hive_table entity details page.
28cf092a8 is described below
commit 28cf092a8afe15e55d3a3d73918437caab600bbb
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]>
---
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