mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 12:11:13 -05:00
Fix: Show state/province in search results
This commit is contained in:
@@ -80,7 +80,7 @@ export function useSearch(options: UseSearchOptions = {}) {
|
||||
id: park.id,
|
||||
type: 'park',
|
||||
title: park.name,
|
||||
subtitle: `${park.location?.city || ''}, ${park.location?.country || ''}`.replace(/^, |, $/, ''),
|
||||
subtitle: [park.location?.city, park.location?.state_province, park.location?.country].filter(Boolean).join(', '),
|
||||
image: park.banner_image_url || park.card_image_url,
|
||||
rating: park.average_rating,
|
||||
slug: park.slug,
|
||||
|
||||
Reference in New Issue
Block a user