From 728f1832358adbe46c4b010cd63958060a4c1af2 Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Mon, 16 Oct 2023 00:53:20 +0200 Subject: fix(frontend): stop clearing global search upon search results load --- src/frontend/tubo/events.cljs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/frontend') 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 -- cgit v1.2.3