X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/c636646759d9c541f7baf19812be18d002a8ce1d..2ba00544d30017ad30570011b1a2bcc6a8da73a7:/src/pages/PolygonsPage.svelte?ds=inline

diff --git a/src/pages/PolygonsPage.svelte b/src/pages/PolygonsPage.svelte
index e61d89a..4e493b6 100644
--- a/src/pages/PolygonsPage.svelte
+++ b/src/pages/PolygonsPage.svelte
@@ -3,6 +3,8 @@
   import { fetch_from_api, update_html_title } from '../lib/api_utils.js';
   import { formatOSMType, osmLink } from '../lib/helpers.js';
 
+  import Header from '../components/Header.svelte';
+
   let aPolygons = [];
 
   function loaddata() {
@@ -14,7 +16,7 @@
   onMount(loaddata);
 </script>
 
-
+<Header/>
 <div class="container">
   <div class="row">
     <div class="col-sm-12">
@@ -26,8 +28,7 @@
 
       <table class="table table-striped table-hover">
         <thead>
-          <th>OSM type</th>
-          <th>OSM id</th>
+          <th>OSM object</th>
           <th>Class</th>
           <th>Type</th>
           <th>Name</th>
@@ -39,7 +40,7 @@
         <tbody>
           {#each aPolygons as polygon}
             <tr>
-              <td>{polygon.osm_type}</td>
+              <!-- eslint-disable-next-line svelte/no-at-html-tags -->
               <td>{@html osmLink(polygon)}</td>
               <td>{polygon.class}</td>
               <td>{polygon.type}</td>
