Repository: atlas
Updated Branches:
  refs/heads/branch-1.0 e7b7de0fa -> 6b81507a5


ATLAS-3023 UI - If any entity is deleted then its record is not displayed in 
Deleted Entities Statistics model

Signed-off-by: nixonrodrigues <ni...@apache.org>
(cherry picked from commit e05ed85fece9c6c3956a0e3f666f59e01a7b668c)


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

Branch: refs/heads/branch-1.0
Commit: 6b81507a5bebca631fe192be28d3b03d06df62c9
Parents: e7b7de0
Author: Abhishek Kadam <abhishek.kada...@gmail.com>
Authored: Mon Jan 7 15:51:38 2019 +0530
Committer: nixonrodrigues <ni...@apache.org>
Committed: Tue Jan 8 17:56:16 2019 +0530

----------------------------------------------------------------------
 dashboardv2/public/js/views/common/Statistics.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/atlas/blob/6b81507a/dashboardv2/public/js/views/common/Statistics.js
----------------------------------------------------------------------
diff --git a/dashboardv2/public/js/views/common/Statistics.js 
b/dashboardv2/public/js/views/common/Statistics.js
index 4ca1978..0f567e2 100644
--- a/dashboardv2/public/js/views/common/Statistics.js
+++ b/dashboardv2/public/js/views/common/Statistics.js
@@ -69,7 +69,7 @@ define(['require',
                         var data = _.first(data.toJSON()),
                             no_records = '<tr class="empty text-center"><td 
colspan="2"><span>No records found!</span></td></tr>',
                             activeEntityTable = 
_.isEmpty(data.entity.entityActive) ? no_records : 
CommonViewFunction.propertyTable({ scope: that, valueObject: 
data.entity.entityActive }),
-                            deleteEntityTable = 
_.isEmpty(data.entity.entityDelete) ? no_records : 
CommonViewFunction.propertyTable({ scope: that, valueObject: 
data.entity.entityDelete });
+                            deleteEntityTable = 
_.isEmpty(data.entity.entityDeleted) ? no_records : 
CommonViewFunction.propertyTable({ scope: that, valueObject: 
data.entity.entityDeleted });
                         that.ui.entityActive.html(activeEntityTable);
                         that.ui.entityDelete.html(deleteEntityTable);
                     }

Reply via email to