diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2023-10-16 00:53:20 +0200 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2023-10-16 00:53:20 +0200 |
commit | 728f1832358adbe46c4b010cd63958060a4c1af2 (patch) | |
tree | 53a77378034cf17fcc0f6686ed64049c52e01ef7 | |
parent | b83cc75ff9d27e9dbd726f387b75e2a50450846e (diff) |
fix(frontend): stop clearing global search upon search results load
-rw-r--r-- | src/frontend/tubo/events.cljs | 3 |
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 |