change profile button target (#357)

This commit is contained in:
Anton Tranelis 2025-09-04 14:17:36 +02:00 committed by GitHub
parent f0a6710dee
commit cafffe88b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -121,7 +121,7 @@ function MapContainer({ layers, map }: { layers: LayerProps[]; map: any }) {
layer.itemType.custom_profile_url ? 'extended.external_profile_id' : 'id' layer.itemType.custom_profile_url ? 'extended.external_profile_id' : 'id'
} }
text={layer.itemType.botton_label ?? 'Profile'} text={layer.itemType.botton_label ?? 'Profile'}
target={layer.itemType.custom_profile_url ? '_parent' : '_self'} target={layer.itemType.custom_profile_url ? '_blank' : '_self'}
/> />
)} )}
{layer.itemType.show_text && <TextView truncate></TextView>} {layer.itemType.show_text && <TextView truncate></TextView>}