mirror of
https://github.com/status-im/pluto.git
synced 2025-02-24 16:38:16 +00:00
Improved views validation
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
This commit is contained in:
parent
4d2576947e
commit
e4ce762bd6
@ -53,7 +53,7 @@
|
||||
|
||||
(defn- resolve-component-property [ctx ext component k v]
|
||||
(or (resolve-default-component-properties k v)
|
||||
(if-let [type (k (get-in ctx [:capacities :components component :properties]))]
|
||||
(if-let [type (get-in ctx [:capacities :components component :properties k])]
|
||||
(types/resolve ctx ext type v)
|
||||
{:errors [(errors/error ::errors/unknown-component-property {:component component :property k})]})))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user