X-Git-Url: https://git.openstreetmap.org/nominatim-ui.git/blobdiff_plain/13812cb6b3f93966bffebfe118d2d7fa8623e137..5830c5cca0c3c6febc2ad3f2c804cc3d773e594a:/src/components/SearchSection.svelte diff --git a/src/components/SearchSection.svelte b/src/components/SearchSection.svelte index c789804..e7520ad 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,64 +79,80 @@
- - - - - - - - - - +
+ +
+
+ + + + + + + + +
- - - - - - - - - - - - - - - +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ + + + + + + + +
@@ -165,7 +181,7 @@
+ id="option_dedupe" checked={api_request_params.dedupe === 0 ? 0 : 1} on:change={set_dedupe}>