Skip to content

Commit

Permalink
Forgot a few case adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
mathcolo committed Jun 25, 2023
1 parent b224954 commit f302c7d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions modules/service/ServiceDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export function ServiceDetails() {
<div className="flex flex-col">
<div className="relative flex flex-col gap-4">
<WidgetDiv>
<WidgetTitle title="Daily Round Trips" />
<WidgetTitle title="Daily round trips" />
{serviceDataReady ? (
<ServiceGraphWrapper
data={serviceData.data}
Expand All @@ -72,7 +72,7 @@ export function ServiceDetails() {
)}
</WidgetDiv>
<WidgetDiv>
<WidgetTitle title={`Service Delivered (% of ${comparison})`} />
<WidgetTitle title={`Service delivered (% of ${comparison})`} />
{serviceDataReady ? (
<PercentageServiceGraphWrapper
data={serviceData.data}
Expand Down
4 changes: 2 additions & 2 deletions modules/slowzones/SlowZonesDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function SlowZonesDetails() {
<PageWrapper pageTitle={'Slow zones'}>
<div className="flex flex-col gap-4">
<WidgetDiv>
<WidgetTitle title="Total Slow Time" />
<WidgetTitle title="Total slow time" />
<div className="relative flex flex-col">
{totalSlowTimeReady ? (
<TotalSlowTimeWrapper
Expand All @@ -72,7 +72,7 @@ export function SlowZonesDetails() {
</div>
</WidgetDiv>
<WidgetDiv>
<WidgetTitle title="Line Map" />
<WidgetTitle title="Line map" />
<div className="relative flex flex-col">
{allSlow.data && speedRestrictions.data && canShowSlowZonesMap ? (
<SlowZonesMap
Expand Down
2 changes: 1 addition & 1 deletion modules/slowzones/SystemSlowZonesDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function SystemSlowZonesDetails({ showTitle = false }: SystemSlowZonesDet
<PageWrapper pageTitle={'Slow zones'}>
<div className="flex flex-col gap-4">
<WidgetDiv>
<WidgetTitle title="Total Slow Time" />
<WidgetTitle title="Total slow time" />
<div className="relative flex flex-col">
{totalSlowTimeReady ? (
<div className="relative flex h-60">
Expand Down
2 changes: 1 addition & 1 deletion modules/slowzones/charts/TotalSlowTime.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export const TotalSlowTime: React.FC<TotalSlowTimeProps> = ({
{
id: 'customTitle',
afterDraw: (chart) => {
if (showTitle) drawSimpleTitle(`Total Slow Time`, chart);
if (showTitle) drawSimpleTitle(`Total slow time`, chart);
},
},
ChartjsPluginWatermark,
Expand Down
2 changes: 1 addition & 1 deletion modules/speed/SpeedDetailsWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const SpeedDetailsWrapper: React.FC<SpeedDetailsWrapperProps> = ({
return (
<>
<WidgetDiv>
<WidgetTitle title="Median Speed" />
<WidgetTitle title="Median speed" />
<SpeedGraphWrapper
data={data}
config={config}
Expand Down

0 comments on commit f302c7d

Please sign in to comment.