Skip to content

Commit

Permalink
Return zeros if summary is unavailable
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye217 committed Jun 12, 2024
1 parent b95a2a1 commit 8d4d4a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/views/events/EventView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export default function EventView({
}

if (!summary) {
return { alert: -1, detection: -1, significant_motion: -1 };
return { alert: 0, detection: 0, significant_motion: 0 };
}

if (filter?.showReviewed == 1) {
Expand Down

0 comments on commit 8d4d4a5

Please sign in to comment.