pawarprasad123 commented on code in PR #406:
URL: https://github.com/apache/atlas/pull/406#discussion_r2355011943


##########
dashboardv3/public/js/views/audit/AdminAuditTableLayoutView.js:
##########
@@ -430,7 +430,7 @@ define(['require',
                 require(['views/audit/AuditTableLayoutView'], 
function(AuditTableLayoutView) {
                     var obj = {
                             guid: $(e.target).text(),
-                            titleText: (e.target.dataset.operation == "PURGE") 
? "Purged Entity Details: " : "Import Details: "
+                            titleText: (e.target.dataset.operation == "PURGE" 
|| e.target.dataset.operation == "AUTO_PURGE") ? "Purged Entity Details: " : 
"Import Details: "

Review Comment:
   Hi,
   Looks like for Purge and Auto purge same tille is used "Purge Entity 
Details", this can be written as 
   
   const titles = {
     PURGE: "Purged Entity Details",
     AUTO_PURGE: "Auto Purge Entity Details"
   };
   
   titleText = titles[e.target.dataset.operation] || "Import Details";



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to