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/1f9ec2cd Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/1f9ec2cd Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/1f9ec2cd Branch: refs/heads/branch-1.0 Commit: 1f9ec2cde76816e88143a4ed36311d0257290a89 Parents: 5e33178 Author: Abhishek Kadam <abhishek.kada...@gmail.com> Authored: Tue Oct 30 17:37:29 2018 +0530 Committer: Ashutosh Mestry <ames...@hortonworks.com> Committed: Thu Nov 1 15:42:58 2018 -0700 ---------------------------------------------------------------------- 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/1f9ec2cd/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();