             sort-branches-by-recency? (get-in app state/sort-branches-by-recency-path false)
             projects (get-in app state/projects-path)
             settings (get-in app state/settings-path)
+            user (get-in app state/user-path)
+            identities (:identities user)
             recent-projects-filter (if (and sort-branches-by-recency?
                                             (not show-all-branches?))
-                                     (partial project-model/personal-recent-project? (:identities opts))
+                                     (partial project-model/personal-recent-project? identities)
                                      identity)]
         (html
          [:div.aside-activity.open

                                      (take 100))
                       :show-all-branches? show-all-branches?
                       :navigation-data (:navigation-data app)}
                      {:opts {:identities (:identities opts)
                              :show-project? true}})
            [:ul.projects
             (for [project (sort project-model/sidebar-sort projects)]

    om/IDisplayName (display-name [_] "Aside")
    om/IRender
    (render [_]
      (html
       [:aside.app-aside
        (om/build aside-menu app)]))))
