]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - src/pages/DeletablePage.svelte
Rebundle latest version
[nominatim-ui.git] / src / pages / DeletablePage.svelte
index 1d6b91eb8f6dd92f05fc5af8483214a5167cbcf9..82f0ee63f8daa2ae443934ca0166a170fb472424 100644 (file)
@@ -3,6 +3,7 @@
   import { fetch_from_api, update_html_title } from '../lib/api_utils.js';
   import { osmLink } from '../lib/helpers.js';
 
+  import Header from '../components/Header.svelte';
   import DetailsLink from '../components/DetailsLink.svelte';
 
   let aPolygons = [];
   onMount(loaddata);
 </script>
 
+<Header/>
 <div class="container">
   <div class="row">
     <div class="col-sm-12">
       <h1>Deletable</h1>
 
       <p>
-          {aPolygons.length} objects have been deleted in OSM but are still in the Nominatim database.
+        {aPolygons.length} objects have been deleted in OSM but
+        are still in the Nominatim database.
       </p>
 
       <table class="table table-striped table-hover">
@@ -30,8 +33,7 @@
           <th>Place id</th>
           <th>Country Code</th>
           <th>Name</th>
-          <th>OSM id</th>
-          <th>OSM type</th>
+          <th>OSM object</th>
           <th>Class</th>
           <th>Type</th>
         </thead>
@@ -41,8 +43,8 @@
             <td><DetailsLink feature={polygon}>{polygon.place_id}</DetailsLink></td>
             <td>{polygon.country_code}</td>
             <td>{polygon.name}</td>
+            <!-- eslint-disable-next-line svelte/no-at-html-tags -->
             <td>{@html osmLink(polygon)}</td>
-            <td>{polygon.osm_type}</td>
             <td>{polygon.class}</td>
             <td>{polygon.type}</td>
           </tr>