fix(report): remove dead null checks on non-nullable DaySheetRow.category
Co-Authored-By: claude-flow <ruv@ruv.net>
This commit is contained in:
@@ -124,10 +124,8 @@ AccomplishmentReportData buildAccomplishmentReportData({
|
||||
if (row.kind == 'helper') {
|
||||
helpSeconds += row.seconds;
|
||||
}
|
||||
if (row.category != null) {
|
||||
secondsByCategory[row.category] =
|
||||
(secondsByCategory[row.category] ?? 0) + row.seconds;
|
||||
}
|
||||
secondsByCategory[row.category] =
|
||||
(secondsByCategory[row.category] ?? 0) + row.seconds;
|
||||
}
|
||||
|
||||
// Track reviewers for included approved sheets only
|
||||
@@ -154,10 +152,8 @@ AccomplishmentReportData buildAccomplishmentReportData({
|
||||
if (row.kind == 'helper') {
|
||||
helpSeconds += row.seconds;
|
||||
}
|
||||
if (row.category != null) {
|
||||
secondsByCategory[row.category] =
|
||||
(secondsByCategory[row.category] ?? 0) + row.seconds;
|
||||
}
|
||||
secondsByCategory[row.category] =
|
||||
(secondsByCategory[row.category] ?? 0) + row.seconds;
|
||||
}
|
||||
|
||||
// Track reviewer for included sheets only
|
||||
|
||||
Reference in New Issue
Block a user