Set display marker to false when rider is unavailable. #478

This commit is contained in:
Korina Cordero 2020-08-26 08:55:53 +00:00
parent ce79354f5d
commit b31f254c82

View file

@ -142,6 +142,7 @@ class MapEventHandler {
}
} else {
console.log('rider not in availability check');
display_marker = false;
}
// TODO: cache rider availability (available vs active jo) status and check before displaying icon