From 1357fed0675dc9ab202a2c286a4c27ba1adf343a Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 25 Nov 2019 17:28:25 +0100 Subject: [PATCH] :bug: Fix bug on images collections filtering. --- frontend/src/uxbox/main/data/images.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/uxbox/main/data/images.cljs b/frontend/src/uxbox/main/data/images.cljs index 06d6cbd87..42636a447 100644 --- a/frontend/src/uxbox/main/data/images.cljs +++ b/frontend/src/uxbox/main/data/images.cljs @@ -72,7 +72,7 @@ ptk/UpdateEvent (update [_ state] (reduce (fn [state {:keys [id user] :as item}] - (let [type (if (uuid/zero? (:user item)) :builtin :own) + (let [type (if (uuid/zero? (:user-id item)) :builtin :own) item (assoc item :type type)] (assoc-in state [:images-collections id] item))) state