Skip to content

Commit 09438a5

Browse files
committed
minor fixes and only group ecargobike and racingbike
1 parent fcdf766 commit 09438a5

3 files changed

Lines changed: 152 additions & 251 deletions

File tree

src/api/Api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ export class ApiImpl implements Api {
445445

446446
public static isMotorVehicle(profile: string) {
447447
return (
448-
profile.includes('car') ||
448+
profile.includes('car') && !profile.includes('cargobike') ||
449449
profile.includes('truck') ||
450450
profile.includes('scooter') ||
451451
profile.includes('bus') ||

0 commit comments

Comments
 (0)