mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 12:31: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,
|
id: park.id,
|
||||||
type: 'park',
|
type: 'park',
|
||||||
title: park.name,
|
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,
|
image: park.banner_image_url || park.card_image_url,
|
||||||
rating: park.average_rating,
|
rating: park.average_rating,
|
||||||
slug: park.slug,
|
slug: park.slug,
|
||||||
|
|||||||
Reference in New Issue
Block a user