Skip to content

Commit

Permalink
[TM-1057] update audit status action text (#561)
Browse files Browse the repository at this point in the history
  • Loading branch information
pachonjcl authored Oct 15, 2024
1 parent 881bc98 commit b8d8111
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ const getTextForActionTable = (
if (item.type === "comment" && entity == "site-polygon") {
return "New Comment";
} else if (item.type === "status" && entity == "site-polygon") {
return `New Status: ${formattedTextStatus(item.status)}`;
const text = `New Status: ${formattedTextStatus(item.status)}`;
if (text === "New Status: Updated") {
return "Updated";
}
return text;
} else if (item.type === "change-request-updated") {
return "Change Request Updated";
} else if (item.request_removed && entity == "site-polygon") {
Expand Down

0 comments on commit b8d8111

Please sign in to comment.