cabana: use route.proclog instead of props.max

main
Andy Haden 2017-12-06 16:06:41 -08:00
parent 4f9ec1c180
commit 54c5f50c71
1 changed files with 2 additions and 3 deletions

View File

@ -133,8 +133,7 @@ export default class CanExplorer extends Component {
}).catch((err) => {
this.showOnboarding();
});
}
else if(dongleId && name) {
} else if(dongleId && name) {
Routes.fetchRoutes(dongleId).then((routes) => {
if(routes && routes[name]) {
const route = routes[name];
@ -221,7 +220,7 @@ export default class CanExplorer extends Component {
}
worker.postMessage({
base: route.url,
parts: [0,this.props.max],
parts: [0, route.proclog],
canStartTime: firstCanTime - canFrameOffset,
});
}