mirror of
https://github.com/penpot/penpot.git
synced 2025-05-23 14:56:11 +02:00
✨ Move projects queries and mutations to commands
This commit is contained in:
parent
dc77c6b655
commit
dba7a9d424
14 changed files with 311 additions and 137 deletions
|
@ -207,7 +207,7 @@
|
|||
(mf/deps show?)
|
||||
(fn []
|
||||
(when show?
|
||||
(->> (rp/query! :all-projects)
|
||||
(->> (rp/cmd! :get-all-projects)
|
||||
(rx/map group-by-team)
|
||||
(rx/subs #(when (mf/ref-val mounted-ref)
|
||||
(reset! teams %)))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue