Repository: atlas
Updated Branches:
  refs/heads/master 7d27b6853 -> 3051df254


ATLAS-2942: Audit tab changes to display proper data on detail modal view

Signed-off-by: nixonrodrigues <ni...@apache.org>


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

Branch: refs/heads/master
Commit: 3051df25409401db304f3e042db295b7a402619d
Parents: 7d27b68
Author: Abhishek Kadam <abhishek.kada...@gmail.com>
Authored: Tue Oct 30 17:37:29 2018 +0530
Committer: nixonrodrigues <ni...@apache.org>
Committed: Wed Oct 31 19:32:48 2018 +0530

----------------------------------------------------------------------
 dashboardv2/public/js/views/audit/CreateAuditTableLayoutView.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/atlas/blob/3051df25/dashboardv2/public/js/views/audit/CreateAuditTableLayoutView.js
----------------------------------------------------------------------
diff --git a/dashboardv2/public/js/views/audit/CreateAuditTableLayoutView.js 
b/dashboardv2/public/js/views/audit/CreateAuditTableLayoutView.js
index aa6f5f4..a35eacb 100644
--- a/dashboardv2/public/js/views/audit/CreateAuditTableLayoutView.js
+++ b/dashboardv2/public/js/views/audit/CreateAuditTableLayoutView.js
@@ -87,7 +87,8 @@ define(['require',
                     this.ui.name.text(name);
                     if (parseDetailsObject) {
                         this.ui.auditHeaderValue.html('<th>Key</th><th>New 
Value</th>');
-                        table = CommonViewFunction.propertyTable({ scope: 
this, valueObject: parseDetailsObject, attributeDefs: this.attributeDefs });
+                        var value = parseDetailsObject.attributes || 
parseDetailsObject;
+                        table = CommonViewFunction.propertyTable({ scope: 
this, valueObject: value, attributeDefs: this.attributeDefs });
                         if (table.length) {
                             this.ui.noData.hide();
                             this.ui.tableAudit.show();

Reply via email to