Skip to content

Commit

Permalink
Merge pull request #723 from ibi-group/remove-bg-when-no-routename
Browse files Browse the repository at this point in the history
Only render routeName badge when routeName exists
  • Loading branch information
amy-corson-ibigroup authored Mar 15, 2024
2 parents 0b24d71 + 38dfe96 commit 073cf6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/transitive-overlay/src/route-layers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export function patternToRouteFeature(
const properties = {
color: `#${route.route_color || "000080"}`,
name: routeName,
nameUpper: routeNameUpper,
nameUpper: routeName.length === 0 ? "" : routeNameUpper,
routeType: route.route_type,
textColor: `#${route.route_text_color || "eee"}`,
type: "route"
Expand Down

0 comments on commit 073cf6a

Please sign in to comment.