diff --git a/src/components/DashboardView.js b/src/components/DashboardView.js index fbd66e1..ed893a5 100644 --- a/src/components/DashboardView.js +++ b/src/components/DashboardView.js @@ -196,6 +196,15 @@ const DashboardView = ({ onCopyLink={onNotificationCopy} copyFeedback={copyFeedback} ntfyPreviewUrl={ntfyPreviewUrl} + location={userLocation} + locationLoading={locationLoading} + locationSaving={locationSaving || geoBusy} + locationError={locationError || geoError} + onDetectLocation={() => { + setGeoError(''); + handleDetectLocation(); + }} + onClearLocation={handleClearLocation} /> )} @@ -275,52 +284,6 @@ const DashboardView = ({ )} -
- Damit die Monitoring-Liste nach Entfernung sortieren kann, hinterlege hier deinen Standort. -
-Standort wird geladen...
- ) : userLocation ? ( -- Aktueller Standort: {userLocation.lat.toFixed(4)}, {userLocation.lon.toFixed(4)} ( - {userLocation.updatedAt ? new Date(userLocation.updatedAt).toLocaleString('de-DE') : 'Zeit unbekannt'}) -
- ) : ( -Kein Standort hinterlegt.
- )} -{locationError || geoError}
- )} -