Permalink
Browse files

Fix vehicle colors (#163)

  • Loading branch information...
kochman authored and garoller committed Sep 15, 2018
1 parent c597394 commit e1b17b0b4b35c6060e033e5850dc31ecf9e7e185
Showing with 1 addition and 1 deletion.
  1. +1 −1 static/js/frontend.js
View
@@ -337,7 +337,7 @@ Vue.component('shuttle-map', {
if (data !== null) {
for (var j = 0; j < data.length; j++) {
for (var k = 0; k < this.ShuttleRoutes.length; k++) {
if (this.ShuttleRoutes[k].id === data[j].RouteID) {
if (this.ShuttleRoutes[k].id === data[j].route_id) {
data[j].color = this.ShuttleRoutes[k].color;
break;
}

0 comments on commit e1b17b0

Please sign in to comment.