mirror of
https://github.com/usememos/memos.git
synced 2024-12-26 12:52:27 +03:00
fix: banner text click not work (#104)
* fix: banner text click not work * fix: replenish duration Co-authored-by: boojack <stevenlgtm@gmail.com> Co-authored-by: boojack <stevenlgtm@gmail.com>
This commit is contained in:
parent
5a20db0bed
commit
e202d7b8d6
@ -44,7 +44,15 @@ const locationService = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
clearQuery: () => {
|
clearQuery: () => {
|
||||||
store.dispatch(setQuery({}));
|
store.dispatch(
|
||||||
|
setQuery({
|
||||||
|
tag: undefined,
|
||||||
|
type: undefined,
|
||||||
|
duration: undefined,
|
||||||
|
text: undefined,
|
||||||
|
shortcutId: undefined,
|
||||||
|
})
|
||||||
|
);
|
||||||
updateLocationUrl();
|
updateLocationUrl();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user