diff --git a/src/uxbox/state/project.cljs b/src/uxbox/state/project.cljs index 33298d98e..0922e9620 100644 --- a/src/uxbox/state/project.cljs +++ b/src/uxbox/state/project.cljs @@ -5,8 +5,8 @@ "A reduce function for assoc the project to the state map." [state proj] - (let [uuid (:id proj)] - (update-in state [:projects-by-id] assoc uuid proj))) + (let [id (:id proj)] + (update-in state [:projects-by-id id] merge proj))) (defn dissoc-project "A reduce function for dissoc the project