Skip to content

Commit

Permalink
bug fix (#747)
Browse files Browse the repository at this point in the history
* bug fix

* bug fix
:wq
  • Loading branch information
PatrickCleary authored Jul 12, 2023
1 parent ca7e7f8 commit 4e277bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions modules/service/ServiceGraph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export const ServiceGraph: React.FC<ServiceGraphProps> = ({
},
title: {
display: true,
text: 'hours',
text: 'trips',
color: COLORS.design.subtitleGrey,
},
},
Expand Down Expand Up @@ -206,7 +206,7 @@ export const ServiceGraph: React.FC<ServiceGraphProps> = ({
ctx.fillText('No data to display', width / 2, height / 2);
ctx.restore();
}
if (showTitle) drawSimpleTitle(`Daily Service Hours`, chart);
if (showTitle) drawSimpleTitle(`Daily round trips`, chart);
},
},
Annotation,
Expand Down
2 changes: 1 addition & 1 deletion server/chalicelib/service_levels.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def get_scheduled_service(
if current_day_iso in scheduled_service_by_day:
scheduled_service_count = scheduled_service_by_day[current_day_iso]["count"]
else:
scheduled_service_count = 0
scheduled_service_count = None
scheduled_service_arr.append(scheduled_service_count)
counts = []
if agg == 'daily':
Expand Down

0 comments on commit 4e277bc

Please sign in to comment.