Remove a few console logs. #535
This commit is contained in:
parent
f5f321b506
commit
cdcb7d0b46
1 changed files with 2 additions and 2 deletions
|
|
@ -78,7 +78,7 @@ class MapEventHandler {
|
||||||
}
|
}
|
||||||
|
|
||||||
handleRider(chan_split, payload) {
|
handleRider(chan_split, payload) {
|
||||||
console.log("rider message");
|
//console.log("rider message");
|
||||||
switch (chan_split[2]) {
|
switch (chan_split[2]) {
|
||||||
case "location":
|
case "location":
|
||||||
console.log("got location for rider " + chan_split[1] + " - " + payload);
|
console.log("got location for rider " + chan_split[1] + " - " + payload);
|
||||||
|
|
@ -115,7 +115,7 @@ class MapEventHandler {
|
||||||
var obj = JSON.parse(payload);
|
var obj = JSON.parse(payload);
|
||||||
|
|
||||||
var status = obj.status;
|
var status = obj.status;
|
||||||
console.log("status " + status);
|
// console.log("status " + status);
|
||||||
switch (status) {
|
switch (status) {
|
||||||
case 'rider_offline':
|
case 'rider_offline':
|
||||||
this.dashmap.rider_availability[chan_split[1]] = false;
|
this.dashmap.rider_availability[chan_split[1]] = false;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue