From f82f9f83844c05b7ef1b83b14ff6827baf05b24b Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 24 Dec 2015 19:32:56 +0200 Subject: [PATCH] Minor naming improvements. --- frontend/uxbox/data/dashboard.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/uxbox/data/dashboard.cljs b/frontend/uxbox/data/dashboard.cljs index 48999b266a..10fdd1cef4 100644 --- a/frontend/uxbox/data/dashboard.cljs +++ b/frontend/uxbox/data/dashboard.cljs @@ -68,8 +68,8 @@ (letfn [(select-first [state] (if (= type :builtin) (assoc-in state [:dashboard :collection-id] 1) - (let [coll (sort-by :id (vals (:colors-by-id state)))] - (assoc-in state [:dashboard :collection-id] (:id (first coll))))))] + (let [colls (sort-by :id (vals (:colors-by-id state)))] + (assoc-in state [:dashboard :collection-id] (:id (first colls))))))] (reify rs/UpdateEvent (-apply-update [_ state]