     [:ul.root
      (object/->content tree)]]
    [:div.recent
-    (bound this :recents)
+    (bound this (fn [sw]
+                  (recents this (:recents sw))))
     ]]
   :dragover (fn [e]
               (set! (.-dataTransfer.dropEffect e) "move")

(behavior ::recent!
          :triggers #{:recent!}
          :reaction (fn [this]
                      (object/merge! this {:recents (recents this (map #(object/create ::recent-workspace %) (workspace/all)))})
                      ))

(behavior ::tree!
          :triggers #{:tree!}
          :reaction (fn [this]
                      (object/merge! this {:recents nil})
                      ))

(behavior ::recent.select!
          :triggers #{:recent.select!}
          :reaction (fn [this]
                      (workspace/open workspace/current-ws (:path @this))
                      (object/raise sidebar-workspace :tree!)

                 (dom/prevent e)
                 (dom/stop-propagation e))
  :click (fn []
           (object/raise this :select!)))

(defui recents [this rs]
  [:div
