mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
✨ Make workspace readiness state more robust
This commit is contained in:
parent
bd834ba840
commit
a6659601f4
2 changed files with 10 additions and 8 deletions
|
@ -137,9 +137,12 @@
|
|||
project (mf/deref refs/workspace-project)
|
||||
layout (mf/deref refs/workspace-layout)
|
||||
wglobal (mf/deref refs/workspace-global)
|
||||
ready? (mf/deref refs/workspace-ready?)
|
||||
read-only? (mf/deref refs/workspace-read-only?)
|
||||
|
||||
ready-lens (mf/with-memo [file-id]
|
||||
(refs/make-workspace-ready-ref file-id))
|
||||
ready? (mf/deref ready-lens)
|
||||
|
||||
team-id (:team-id project)
|
||||
file-name (:name file)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue