maps route link
This commit is contained in:
@@ -478,10 +478,11 @@ const StoreWatchPage = ({
|
||||
</div>
|
||||
),
|
||||
cell: ({ row }) => (
|
||||
<div className="flex items-start justify-between gap-2">
|
||||
<div>
|
||||
<p className="text-gray-800 text-sm">{row.original.city || 'unbekannt'}</p>
|
||||
<div className="flex items-center gap-1">
|
||||
<p className="text-xs text-gray-500">{row.original.street || ''}</p>
|
||||
</div>
|
||||
{(() => {
|
||||
const hasUserLocation =
|
||||
userLocation &&
|
||||
@@ -501,7 +502,7 @@ const StoreWatchPage = ({
|
||||
href={mapsUrl}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="inline-flex h-5 w-5 items-center justify-center rounded text-gray-400 hover:text-blue-600"
|
||||
className="inline-flex h-6 w-6 items-center justify-center rounded text-gray-400 hover:text-blue-600"
|
||||
title="Route zu diesem Betrieb in Google Maps öffnen"
|
||||
>
|
||||
<span className="sr-only">Route in Google Maps</span>
|
||||
@@ -513,7 +514,6 @@ const StoreWatchPage = ({
|
||||
);
|
||||
})()}
|
||||
</div>
|
||||
</div>
|
||||
),
|
||||
sortingFn: 'alphanumeric',
|
||||
filterFn: 'includesString'
|
||||
|
||||
Reference in New Issue
Block a user