mirror of
https://github.com/penpot/penpot.git
synced 2025-06-05 05:01:40 +02:00
✨ Improve component renaming process on workspace
This commit is contained in:
parent
0ea07fbe01
commit
bd834ba840
6 changed files with 139 additions and 95 deletions
|
@ -104,9 +104,12 @@
|
|||
(def workspace-drawing
|
||||
(l/derived :workspace-drawing st/state))
|
||||
|
||||
;; FIXME: define it as function, because in some situations this
|
||||
;; current check is not enought for true readiness
|
||||
(def workspace-ready?
|
||||
(l/derived (fn [state]
|
||||
(and (:workspace-ready? state)
|
||||
(:workspace-data state)
|
||||
(:current-file-id state)
|
||||
(:current-project-id state)))
|
||||
st/state))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue