mirror of
https://github.com/zvx-echo6/navi.git
synced 2026-05-20 22:54:42 +02:00
fix: normalize action button sizing, hide generic Poi subtitle
This commit is contained in:
parent
0c5f9f47d0
commit
31d1ef07dd
2 changed files with 3 additions and 3 deletions
|
|
@ -677,7 +677,7 @@ export default function PlaceDetail() {
|
|||
{(() => {
|
||||
const cat = placeDetails && placeDetails !== 'loading' ? placeDetails.category : null
|
||||
const parts = []
|
||||
if (cat) parts.push(cat)
|
||||
if (cat && !["poi", "unknown", ""].includes(cat.toLowerCase())) parts.push(cat)
|
||||
if (nearbyLabel) parts.push(`near ${nearbyLabel}`)
|
||||
if (driveTime != null) parts.push(formatDriveTime(driveTime))
|
||||
if (parts.length === 0) return null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue