0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-13 15:31:26 -05:00

Disable loader on colors.

This commit is contained in:
Andrey Antukh 2016-09-23 20:03:21 +03:00
parent 1acdef47d4
commit 8d20cf9d3d
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95

View file

@ -15,7 +15,6 @@
[uxbox.main.state :as st]
[uxbox.main.repo :as rp]))
;; --- Helpers
(defn- assoc-collection
@ -44,10 +43,10 @@
:section :dashboard/colors}]
(assoc state :dashboard data)))
rs/EffectEvent
(-apply-effect [_ state]
(when (nil? (:colors-by-id state))
(reset! st/loader true)))
;; rs/EffectEvent
;; (-apply-effect [_ state]
;; (when (nil? (:colors-by-id state))
;; (reset! st/loader true)))
rs/WatchEvent
(-apply-watch [_ state s]