maps route link

This commit is contained in:
2025-11-11 00:02:23 +01:00
parent 076717972d
commit 815b95e6d8

View File

@@ -478,10 +478,11 @@ const StoreWatchPage = ({
</div> </div>
), ),
cell: ({ row }) => ( cell: ({ row }) => (
<div className="flex items-start justify-between gap-2">
<div> <div>
<p className="text-gray-800 text-sm">{row.original.city || 'unbekannt'}</p> <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> <p className="text-xs text-gray-500">{row.original.street || ''}</p>
</div>
{(() => { {(() => {
const hasUserLocation = const hasUserLocation =
userLocation && userLocation &&
@@ -501,7 +502,7 @@ const StoreWatchPage = ({
href={mapsUrl} href={mapsUrl}
target="_blank" target="_blank"
rel="noopener noreferrer" 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" title="Route zu diesem Betrieb in Google Maps öffnen"
> >
<span className="sr-only">Route in Google Maps</span> <span className="sr-only">Route in Google Maps</span>
@@ -513,7 +514,6 @@ const StoreWatchPage = ({
); );
})()} })()}
</div> </div>
</div>
), ),
sortingFn: 'alphanumeric', sortingFn: 'alphanumeric',
filterFn: 'includesString' filterFn: 'includesString'