From 3cf4a75b938f1e9abd1f9e58c32828de25b47172 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 21 Oct 2016 00:17:27 +0200 Subject: [PATCH] Fix wrong state tranformation on delete icon collection event. --- src/uxbox/main/data/icons.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uxbox/main/data/icons.cljs b/src/uxbox/main/data/icons.cljs index 51087383f..e46f91c69 100644 --- a/src/uxbox/main/data/icons.cljs +++ b/src/uxbox/main/data/icons.cljs @@ -167,7 +167,7 @@ rs/WatchEvent (-apply-watch [_ state s] - (let [type (get-in state [:dashboard :images :type])] + (let [type (get-in state [:dashboard :icons :type])] (->> (rp/req :delete/icon-collection id) (rx/map #(select-collection type))))))