aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2024-12-01 13:22:12 +0100
committerMiguel Ángel Moreno <mail@migalmoreno.com>2024-12-01 13:26:44 +0100
commit7d5deab7f9851cdd16b57f18d617115a31d1033a (patch)
tree5facee14217ae1abd61cc8bacd0223254a4cf9ae /src
parent6ecf3c163b231452ac0bc08e7d2947ee32950339 (diff)
fix: fix search show-form event handler
Diffstat (limited to 'src')
-rw-r--r--src/frontend/tubo/search/events.cljs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/frontend/tubo/search/events.cljs b/src/frontend/tubo/search/events.cljs
index a40948a..0f2114a 100644
--- a/src/frontend/tubo/search/events.cljs
+++ b/src/frontend/tubo/search/events.cljs
@@ -72,11 +72,7 @@
(rf/reg-event-db
:search/show-form
(fn [db [_ show?]]
- (when-not (= (-> db
- :navigation/current-match
- :path)
- "search")
- (assoc db :search/show-form show?))))
+ (assoc db :search/show-form show?)))
(rf/reg-event-db
:search/change-query