Commit 82fbfb64 authored by Ricardo J. Mendez's avatar Ricardo J. Mendez

Taking a snapshot of the latest activity before sorting the tabs

See https://app.asana.com/0/50978096561390/62450128772424 for an
explanation
parent dd49e21a
......@@ -217,6 +217,10 @@
(register-handler
::on-clicked-button
(fn [app-state [_ {:keys [tab]}]]
;; Force it to track the time up until now
(let [active-tab (:active-tab app-state)]
(dispatch [:handle-deactivation active-tab])
(dispatch [:handle-activation active-tab]))
(dispatch [:on-relevance-sort-tabs tab])
app-state
))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment