Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

fix: banner text click not work (#104)

Hyobane202d7b8d6ff
diff --git a/web/src/services/locationService.ts b/web/src/services/locationService.ts
index 8cf80e84e..117e1c42b 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();
},