From 333e4d0dc07fb7cfe24c81d56ad3384a6788b407 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Sun, 28 Aug 2016 14:53:15 +0300 Subject: [PATCH] Minor naming fix on sitemap namespace. --- src/uxbox/main/ui/workspace/sidebar/sitemap.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uxbox/main/ui/workspace/sidebar/sitemap.cljs b/src/uxbox/main/ui/workspace/sidebar/sitemap.cljs index 50a92e23e..6f696bc33 100644 --- a/src/uxbox/main/ui/workspace/sidebar/sitemap.cljs +++ b/src/uxbox/main/ui/workspace/sidebar/sitemap.cljs @@ -29,7 +29,7 @@ ;; --- Lenses -(defn- resolve-page +(defn- resolve-pages [state] (let [project (get-in state [:workspace :project])] (->> (vals (:pages-by-id state)) @@ -37,7 +37,7 @@ (sort-by :created-at)))) (def pages-ref - (-> (l/lens resolve-page) + (-> (l/lens resolve-pages) (l/derive st/state))) ;; --- Component