diff --git a/example-config.yml b/example-config.yml index e820d7b34..554c8ee6a 100644 --- a/example-config.yml +++ b/example-config.yml @@ -414,6 +414,7 @@ itinerary: # BUS: # Any OTP mode # color: 00FF00 # HEX color without the # (like GTFS) # textColor: FFFFFF # HEX color without the # (like GTFS) +# routeIcons: false # If set to false, no mode icons in the route viewer # - feedId: TriMet # agencyId: TRIMET # name: TriMet diff --git a/lib/components/viewers/RouteRow.js b/lib/components/viewers/RouteRow.js index 9bc8631a2..93ad0634a 100644 --- a/lib/components/viewers/RouteRow.js +++ b/lib/components/viewers/RouteRow.js @@ -176,7 +176,7 @@ export class RouteRow extends PureComponent { > - {route.mode && ( + {route.mode && operator.routeIcons !== false && ( + routeIcons?: boolean } /** Route Viewer config */