From 16ed09a303daa1bca7ff77d38962ab9df614ffeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Moya?= Date: Fri, 10 Dec 2021 10:50:18 +0100 Subject: [PATCH] :bug: Fix error importing file with null destination in one interaction --- common/src/app/common/types/interactions.cljc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/common/src/app/common/types/interactions.cljc b/common/src/app/common/types/interactions.cljc index 3f54ee2a8..838dbff9c 100644 --- a/common/src/app/common/types/interactions.cljc +++ b/common/src/app/common/types/interactions.cljc @@ -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 [_]