From e2ad20b37655932944179fa27521fc9d13332c07 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Sun, 27 Mar 2016 18:30:37 +0300 Subject: [PATCH] Do not deselect the current selected history on refetches. --- src/uxbox/data/pages.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uxbox/data/pages.cljs b/src/uxbox/data/pages.cljs index f96504b9ad..0bd1e8712c 100644 --- a/src/uxbox/data/pages.cljs +++ b/src/uxbox/data/pages.cljs @@ -171,8 +171,8 @@ rs/UpdateEvent (-apply-update [_ state] (-> state - (assoc-in [:workspace :history :items] history) - (assoc-in [:workspace :history :selected] nil)))) + (assoc-in [:workspace :history :items] history)))) + ;; (assoc-in [:workspace :history :selected] nil)))) ;; --- Fetch Page History