mirror of
https://github.com/penpot/penpot.git
synced 2025-05-07 03:45:54 +02:00
🐛 Fix error importing file with null destination in one interaction
This commit is contained in:
parent
f8cecfd61f
commit
16ed09a303
1 changed files with 6 additions and 6 deletions
|
@ -72,17 +72,17 @@
|
||||||
(s/keys :opt-un [::destination ::preserve-scroll]))
|
(s/keys :opt-un [::destination ::preserve-scroll]))
|
||||||
|
|
||||||
(defmethod action-opts-spec :open-overlay [_]
|
(defmethod action-opts-spec :open-overlay [_]
|
||||||
(s/keys :req-un [::destination
|
(s/keys :req-un [::overlay-position
|
||||||
::overlay-position
|
|
||||||
::overlay-pos-type]
|
::overlay-pos-type]
|
||||||
:opt-un [::close-click-outside
|
:opt-un [::destination
|
||||||
|
::close-click-outside
|
||||||
::background-overlay]))
|
::background-overlay]))
|
||||||
|
|
||||||
(defmethod action-opts-spec :toggle-overlay [_]
|
(defmethod action-opts-spec :toggle-overlay [_]
|
||||||
(s/keys :req-un [::destination
|
(s/keys :req-un [::overlay-position
|
||||||
::overlay-position
|
|
||||||
::overlay-pos-type]
|
::overlay-pos-type]
|
||||||
:opt-un [::close-click-outside
|
:opt-un [::destination
|
||||||
|
::close-click-outside
|
||||||
::background-overlay]))
|
::background-overlay]))
|
||||||
|
|
||||||
(defmethod action-opts-spec :close-overlay [_]
|
(defmethod action-opts-spec :close-overlay [_]
|
||||||
|
|
Loading…
Add table
Reference in a new issue