Skip to content

Commit

Permalink
fix: Trail Run Marathon
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-29 committed Dec 11, 2023
1 parent 4bb349d commit 701ba43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ const typeForRun = (run: Activity): string => {

const titleForRun = (run: Activity): string => {
const type = run.type;
if (type == 'Run'){
if (type == 'Run' || type == 'Trail Run'){
const runDistance = run.distance / 1000;
if (runDistance >= 40) {
return RUN_TITLES.FULL_MARATHON_RUN_TITLE;
Expand Down

0 comments on commit 701ba43

Please sign in to comment.