From 799808e6019467579f9fbb320e87bc8284968a21 Mon Sep 17 00:00:00 2001 From: Thorsten Schau Date: Wed, 19 Jul 2023 13:04:57 +0200 Subject: [PATCH] APP-424 re-set Search on Mount of Marketlisting Page --- .../dapps/o-marketlisting/molecules/MarketlistingFrame.svelte | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shell/src/dapps/o-marketlisting/molecules/MarketlistingFrame.svelte b/shell/src/dapps/o-marketlisting/molecules/MarketlistingFrame.svelte index 52ad9f8b5..9177e7a20 100644 --- a/shell/src/dapps/o-marketlisting/molecules/MarketlistingFrame.svelte +++ b/shell/src/dapps/o-marketlisting/molecules/MarketlistingFrame.svelte @@ -16,6 +16,10 @@ let geoLocationOptions = { let ownLocation: GeolocationPosition = null; let searchString: string = ""; +onMount(() => { + marketStore.resetSearch(); +}); + onMount(async () => { if (geolocation) { marketStore.init(geolocation);