mirror of
https://github.com/penpot/penpot.git
synced 2025-05-18 20:26:10 +02:00
Disable loader on colors.
This commit is contained in:
parent
1acdef47d4
commit
8d20cf9d3d
1 changed files with 4 additions and 5 deletions
|
@ -15,7 +15,6 @@
|
||||||
[uxbox.main.state :as st]
|
[uxbox.main.state :as st]
|
||||||
[uxbox.main.repo :as rp]))
|
[uxbox.main.repo :as rp]))
|
||||||
|
|
||||||
|
|
||||||
;; --- Helpers
|
;; --- Helpers
|
||||||
|
|
||||||
(defn- assoc-collection
|
(defn- assoc-collection
|
||||||
|
@ -44,10 +43,10 @@
|
||||||
:section :dashboard/colors}]
|
:section :dashboard/colors}]
|
||||||
(assoc state :dashboard data)))
|
(assoc state :dashboard data)))
|
||||||
|
|
||||||
rs/EffectEvent
|
;; rs/EffectEvent
|
||||||
(-apply-effect [_ state]
|
;; (-apply-effect [_ state]
|
||||||
(when (nil? (:colors-by-id state))
|
;; (when (nil? (:colors-by-id state))
|
||||||
(reset! st/loader true)))
|
;; (reset! st/loader true)))
|
||||||
|
|
||||||
rs/WatchEvent
|
rs/WatchEvent
|
||||||
(-apply-watch [_ state s]
|
(-apply-watch [_ state s]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue