🐛 Prevent unexpected exception in swatch* component

This commit is contained in:
Andrey Antukh
2026-08-03 14:25:39 +02:00
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"}