mirror of https://github.com/penpot/penpot.git
🐛 Fix problem with variant plugins api (#7890)
This commit is contained in:
parent
648e660bcf
commit
2f0853f5cc
|
|
@ -901,10 +901,10 @@
|
|||
(fn [pos value]
|
||||
(cond
|
||||
(not (nat-int? pos))
|
||||
(u/display-not-valid :pos pos)
|
||||
(u/display-not-valid :pos (str pos))
|
||||
|
||||
(not (string? name))
|
||||
(u/display-not-valid :name name)
|
||||
(not (string? value))
|
||||
(u/display-not-valid :name value)
|
||||
|
||||
:else
|
||||
(st/emit!
|
||||
|
|
|
|||
Loading…
Reference in New Issue