Browse Source

fix: search input in All pages requires 2 chars

Fixes #3273
Andelf 4 years ago
parent
commit
1ef6741282
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/main/frontend/components/page.cljs

+ 1 - 2
src/main/frontend/components/page.cljs

@@ -748,8 +748,7 @@
 
         search-key (fn [key]
                      (when-let [key (and key (string/trim key))]
-                       (if (and (> (count key) 2)
-                                (not (string/blank? key))
+                       (if (and (not (string/blank? key))
                                 (seq @*results))
                          (reset! *search-key key)
                          (reset! *search-key nil))))