aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2023-10-16 00:53:20 +0200
committerMiguel Ángel Moreno <mail@migalmoreno.com>2023-10-16 00:53:20 +0200
commit728f1832358adbe46c4b010cd63958060a4c1af2 (patch)
tree53a77378034cf17fcc0f6686ed64049c52e01ef7 /src
parentb83cc75ff9d27e9dbd726f387b75e2a50450846e (diff)
fix(frontend): stop clearing global search upon search results load
Diffstat (limited to 'src')
-rw-r--r--src/frontend/tubo/events.cljs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/frontend/tubo/events.cljs b/src/frontend/tubo/events.cljs
index ed4da34..152674d 100644
--- a/src/frontend/tubo/events.cljs
+++ b/src/frontend/tubo/events.cljs
@@ -428,8 +428,7 @@
(fn [{:keys [db]} [_ res]]
(let [search-res (js->clj res :keywordize-keys true)]
{:db (assoc db :search-results search-res
- :show-page-loading false
- :global-search "")
+ :show-page-loading false)
:fx [[:dispatch [::set-service-styles search-res]]]})))
(rf/reg-event-fx