0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-03 12:59:12 -05:00

🐛 Fix error importing file with null destination in one interaction

This commit is contained in:
Andrés Moya 2021-12-10 10:50:18 +01:00
parent f8cecfd61f
commit 16ed09a303

View file

@ -72,17 +72,17 @@
(s/keys :opt-un [::destination ::preserve-scroll]))
(defmethod action-opts-spec :open-overlay [_]
(s/keys :req-un [::destination
::overlay-position
(s/keys :req-un [::overlay-position
::overlay-pos-type]
:opt-un [::close-click-outside
:opt-un [::destination
::close-click-outside
::background-overlay]))
(defmethod action-opts-spec :toggle-overlay [_]
(s/keys :req-un [::destination
::overlay-position
(s/keys :req-un [::overlay-position
::overlay-pos-type]
:opt-un [::close-click-outside
:opt-un [::destination
::close-click-outside
::background-overlay]))
(defmethod action-opts-spec :close-overlay [_]