X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/81e60fe57cd39f52817163c16e3e9982e6d84766..2a34127a122a0d415a1cabb8de8e80a91b3dc017:/src/components/SearchSection.svelte diff --git a/src/components/SearchSection.svelte b/src/components/SearchSection.svelte index 207af21..e50bbdf 100644 --- a/src/components/SearchSection.svelte +++ b/src/components/SearchSection.svelte @@ -69,7 +69,7 @@ } function set_dedupe(e) { - document.querySelector('input[name=dedupe]').value = e.target.checked ? 1 : ''; + document.querySelector('input[name=dedupe]').value = e.target.checked ? 1 : 0; } function set_api_param(e) { @@ -79,62 +79,81 @@
- - - - - - - - - - +
+ +
+
+ + + + + + + + +
- - - - - - - - - - - - - - - +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ + + + + + + + +
@@ -163,7 +182,7 @@
+ id="option_dedupe" checked={api_request_params.dedupe === 0 ? 0 : 1} on:change={set_dedupe}>
@@ -192,10 +211,11 @@
  • - +