Skip to content

Commit

Permalink
Merge branch 'FYLE-revert-for-tasks-to-platform' into FYLE-fix-testin…
Browse files Browse the repository at this point in the history
…g-bugs
  • Loading branch information
bistaastha committed May 28, 2024
2 parents ce2fce7 + 8b4f958 commit f238591
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class AuditHistoryComponent implements OnInit {
hasDetails() {
this.estatuses = this.estatuses.map(function (estatus) {
if (estatus) {
estatus.has_details = estatus.st_diff !== null && Object.keys(estatus.st_diff).length > 0;
estatus.has_details = estatus.st_diff && Object.keys(estatus.st_diff).length > 0;
}
return estatus;
});
Expand Down

0 comments on commit f238591

Please sign in to comment.