mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +00:00
Add preconditions to the workspace initialization event.
This commit is contained in:
parent
7958c33e34
commit
6e7a20974d
@ -102,6 +102,8 @@
|
||||
(defn initialize
|
||||
"Initialize the workspace state."
|
||||
[project page]
|
||||
{:pre [(uuid? project)
|
||||
(uuid? page)]}
|
||||
(InitializeWorkspace. project page))
|
||||
|
||||
;; --- Workspace Tooltips
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user