From 72012a070dc88cf6b6ce393a6698a3aa6df10a3c Mon Sep 17 00:00:00 2001 From: marc tobias Date: Mon, 12 Apr 2021 17:05:46 +0200 Subject: [PATCH] avoid build warning by reassigning Nominatim_Config in script section --- src/pages/StatusPage.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/StatusPage.svelte b/src/pages/StatusPage.svelte index 242d54d..c3bfb78 100644 --- a/src/pages/StatusPage.svelte +++ b/src/pages/StatusPage.svelte @@ -5,6 +5,7 @@ import Header from '../components/Header.svelte'; let aStatusData = {}; + let configuration = Nominatim_Config; function loaddata() { fetch_from_api('status', { format: 'json' }, function (data) { @@ -23,7 +24,7 @@
API Endpoint
-
{Nominatim_Config.Nominatim_API_Endpoint}
+
{configuration.Nominatim_API_Endpoint}
Software version
{aStatusData.software_version}
-- 2.39.5