From e202d7b8d6ff7085fe3fc5af9f3f6783dd55759e Mon Sep 17 00:00:00 2001 From: Hyoban Date: Wed, 6 Jul 2022 11:22:19 +0800 Subject: [PATCH] fix: banner text click not work (#104) * fix: banner text click not work * fix: replenish duration Co-authored-by: boojack Co-authored-by: boojack --- web/src/services/locationService.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/web/src/services/locationService.ts b/web/src/services/locationService.ts index 8cf80e84..117e1c42 100644 --- a/web/src/services/locationService.ts +++ b/web/src/services/locationService.ts @@ -44,7 +44,15 @@ const locationService = { }, clearQuery: () => { - store.dispatch(setQuery({})); + store.dispatch( + setQuery({ + tag: undefined, + type: undefined, + duration: undefined, + text: undefined, + shortcutId: undefined, + }) + ); updateLocationUrl(); },