Skip to content

Commit

Permalink
Fix Transfers Colors
Browse files Browse the repository at this point in the history
  • Loading branch information
consindo committed Sep 2, 2019
1 parent 054731c commit fbd77dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/waka-worker/lines/index.ts
Expand Up @@ -661,7 +661,7 @@ class Lines {

const transfersWithColors = transfers.map(t => {
const [agency, routeShortName] = t.split('/')
return [routeShortName, this.getColor(agency, t)]
return [routeShortName, this.getColor(agency, routeShortName)]
})
transfersWithColors.sort(sortFn)

Expand Down Expand Up @@ -753,7 +753,7 @@ class Lines {
}
const transfersWithColors = transfers.map(t => {
const [agency, routeShortName] = t.split('/')
return [routeShortName, this.getColor(agency, t)]
return [routeShortName, this.getColor(agency, routeShortName)]
})
transfersWithColors.sort(sortFn)
i.stop_id = i.stop_code
Expand Down

0 comments on commit fbd77dd

Please sign in to comment.