]> git.openstreetmap.org Git - nominatim-ui.git/commitdiff
remove OSM type column from deletable and polygons page
authorSarah Hoffmann <lonvia@denofr.de>
Sat, 22 Jul 2023 18:56:01 +0000 (20:56 +0200)
committermtmail <mtmail@gmx.net>
Sat, 22 Jul 2023 20:47:44 +0000 (22:47 +0200)
The type already appears in the ID link.

src/pages/DeletablePage.svelte
src/pages/PolygonsPage.svelte

index 0748b5cbe9522783d5a6ef62700f7122c58cd67a..82f0ee63f8daa2ae443934ca0166a170fb472424 100644 (file)
@@ -33,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>
@@ -46,7 +45,6 @@
             <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>
index dc7ec04563ca620ceefaa16e39f3af31a17b0f1b..4e493b60d23f1c0231dd6f2e1c7b19c75d2fabef 100644 (file)
@@ -28,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>
@@ -41,7 +40,6 @@
         <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>