]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - src/components/LastUpdated.svelte
Rebundle latest version
[nominatim-ui.git] / src / components / LastUpdated.svelte
index 44738f204b2608e34a2403f44b233623bc6a2a9f..129c89341cdbb97d91cef3958d5e0336bc0dc523 100644 (file)
   last_api_request_url_store.subscribe(url => {
     last_api_request_url = url;
 
+    if (last_api_request_url) {
+      last_api_request_url = new URL(last_api_request_url, window.location.origin);
+      last_api_request_url.searchParams.delete('polygon_geojson');
+      last_api_request_url = last_api_request_url.toString();
+    }
+
     if (fetch_running || last_updated_date) return;
 
     fetch_running = true;