Skip to content

Commit

Permalink
Merge pull request #321 from PagerDuty/issue-320
Browse files Browse the repository at this point in the history
  • Loading branch information
gsreynolds authored Sep 25, 2023
2 parents 7da2254 + 5f4adf1 commit b02d5fc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/IncidentTable/IncidentTableComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,10 @@ const IncidentTableComponent = () => {
const row = data[index];
useEffect(() => {
if (inView) {
if (!row.original.alerts) {
if (
!row.original.alerts
|| (Array.isArray(row.original.alerts) && row.original.alerts.length !== row.original.alert_counts?.all)
) {
getIncidentAlerts(row.original.id);
}
if (!row.original.notes) {
Expand Down

0 comments on commit b02d5fc

Please sign in to comment.