mirror of
https://github.com/penpot/penpot.git
synced 2025-05-28 23:46:11 +02:00
✨ Don't register shadow schema
It is not really necessary, we can use the schema var directly.
This commit is contained in:
parent
ccbf17106d
commit
151dc352c8
4 changed files with 8 additions and 9 deletions
|
@ -432,7 +432,7 @@
|
|||
(let [id (obj/get self "$id")
|
||||
value (mapv #(shadow-defaults (parser/parse-shadow %)) value)]
|
||||
(cond
|
||||
(not (sm/validate [:vector ::ctss/shadow] value))
|
||||
(not (sm/validate [:vector ctss/schema:shadow] value))
|
||||
(u/display-not-valid :shadows value)
|
||||
|
||||
(not (r/check-permission plugin-id "content:write"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue