mirror of
https://github.com/penpot/penpot.git
synced 2026-08-04 11:58:48 +00:00
🐛 Prevent unexpected exception in swatch* component
This commit is contained in:
parent
c320cecf15
commit
2f535c3f3f
@ -65,7 +65,7 @@
|
||||
(uc/gradient-type->string (:type gradient))
|
||||
|
||||
(some? image)
|
||||
(:name image)))))
|
||||
(or (:name image) (tr "media.image"))))))
|
||||
|
||||
(def ^:private schema:swatch
|
||||
[:map {:title "SchemaSwatch"}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user