0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 08:50:57 -05:00

🐛 Fix wrong arity call on dashboard data ns.

This commit is contained in:
Andrey Antukh 2020-05-05 13:32:00 +02:00 committed by Alonso Torres
parent f5e277269c
commit 894cf3f0ed

View file

@ -88,7 +88,7 @@
(watch [_ state stream]
(let [local (:dashboard-local state)]
(rx/of (fetch-files (:project-id local))
(fetch-projects (:team-id local)))))))
(fetch-projects (:team-id local) nil))))))
(defn initialize-recent
@ -104,7 +104,7 @@
ptk/WatchEvent
(watch [_ state stream]
(let [local (:dashboard-local state)]
(rx/of (fetch-projects (:team-id local))
(rx/of (fetch-projects (:team-id local) nil)
(fetch-recent-files (:team-id local)))))))
@ -122,7 +122,7 @@
ptk/WatchEvent
(watch [_ state stream]
(let [local (:dashboard-local state)]
(rx/of (fetch-projects (:team-id local))
(rx/of (fetch-projects (:team-id local) nil)
(fetch-files (:project-id local)))))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;