Skip to content

Commit e7d3f77

Browse files
committed
Handle empty values for accepted
1 parent 5826fda commit e7d3f77

File tree

1 file changed

+1
-1
lines changed
  • src/sentry/static/sentry/app/views/organizationStats

1 file changed

+1
-1
lines changed

src/sentry/static/sentry/app/views/organizationStats/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ var OrganizationStats = React.createClass({
193193
return [[ts, value || 0]];
194194
}),
195195
accepted: $.map(sReceived, (value, ts) => {
196-
return [[ts, value - sRejected[ts] - sBlacklisted[ts]]];
196+
return [[ts, value - (sRejected[ts] || 0) - (sBlacklisted[ts] || 0)]];
197197
}),
198198
blacklisted: $.map(sBlacklisted, (value, ts) => {
199199
return [[ts, value || 0]];

0 commit comments

Comments
 (0)