mirror of
https://github.com/penpot/penpot.git
synced 2025-05-11 02:06:37 +02:00
Merge pull request #2600 from penpot/palba-workspace-read-only
🎉 Add workspace read-only setting
This commit is contained in:
commit
12cc5c6c97
22 changed files with 567 additions and 460 deletions
|
@ -322,3 +322,8 @@
|
|||
objects (get-in @st/state [:workspace-data :pages-index page-id :objects])]
|
||||
(.log js/console (modif->js (:workspace-modifiers @st/state) objects)))
|
||||
nil)
|
||||
|
||||
(defn ^:export set-workspace-read-only
|
||||
[read-only?]
|
||||
(st/emit! (dw/set-workspace-read-only read-only?)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue