0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 23:49:45 -05:00

Do not deselect the current selected history on refetches.

This commit is contained in:
Andrey Antukh 2016-03-27 18:30:37 +03:00
parent b8dc464e88
commit e2ad20b376

View file

@ -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