mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-12 23:36:00 +00:00
change profile button target (#357)
This commit is contained in:
parent
f0a6710dee
commit
cafffe88b4
@ -121,7 +121,7 @@ function MapContainer({ layers, map }: { layers: LayerProps[]; map: any }) {
|
||||
layer.itemType.custom_profile_url ? 'extended.external_profile_id' : 'id'
|
||||
}
|
||||
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>}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user