fix: starting a search the button did show "clear" for 1 second

Massimo Melina committed Jan 19, 2022 at 14:50 UTC fafb075fec3666cd27cd71591f4dd9485bf326e7
2 files changed +1 -2
frontend/src/menu.ts
+1 -1
@@ -66,7 +66,7 @@ export function MenuPanel() {
66 stopSearch()
67 state.stoppedSearch = true
68 }
69 - } : state.remoteSearch ? {
69 + } : state.remoteSearch && !stopSearch ? {
70 icon: 'search_off',
71 label: 'Clear search',
72 onClick() {
todo.md
-1
@@ -1,5 +1,4 @@
1 # To do
2 -- fix for 1 second, starting a search, will show "clear" button instead of "stop"
2 - log filter option
3 - log filter plugin
4 - frontend search supporting masks