Commit 3051df25 by Abhishek Kadam Committed by nixonrodrigues

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

parent 7d27b685
...@@ -87,7 +87,8 @@ define(['require', ...@@ -87,7 +87,8 @@ define(['require',
this.ui.name.text(name); this.ui.name.text(name);
if (parseDetailsObject) { if (parseDetailsObject) {
this.ui.auditHeaderValue.html('<th>Key</th><th>New Value</th>'); 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) { if (table.length) {
this.ui.noData.hide(); this.ui.noData.hide();
this.ui.tableAudit.show(); this.ui.tableAudit.show();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment