mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 12:56:39 +02:00
🎉 Add workspace read-only setting
This commit is contained in:
parent
6b7adec617
commit
cd47c0356a
22 changed files with 567 additions and 460 deletions
|
@ -316,3 +316,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