diff --git a/assets/ts/ui/autocomplete/templates/algolia.tsx b/assets/ts/ui/autocomplete/templates/algolia.tsx index 168a1d796f..786bac91ec 100644 --- a/assets/ts/ui/autocomplete/templates/algolia.tsx +++ b/assets/ts/ui/autocomplete/templates/algolia.tsx @@ -112,26 +112,27 @@ const AlgoliaItemTemplate: SourceTemplates["item"] = ({ {!isContentItem(item) && featureIcons.length > 0 && ( -
- {featureIcons.map((feature: string) => ( - - ))} +
+
+ {featureIcons.map((feature: string) => ( + + ))} +
+ {isStopItem(item) && ( +
+ {`${item.stop.municipality}, ${ + item.stop.address ? stateAbbr(item.stop.address) : "MA" + }`} +
+ )}
)}
- - {isStopItem(item) && ( -
- {`${item.stop.municipality}, ${ - item.stop.address ? stateAbbr(item.stop.address) : "MA" - }`} -
- )} ); };