From e0ad6c0b95f2e50552271cc74bd57668f7221625 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 28 Jul 2023 10:41:49 +0200 Subject: [PATCH] :bug: Fix unexpected exception on saving boolean shapes --- CHANGES.md | 1 + common/src/app/common/types/shape.cljc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 5739dd035a..174dbdbb74 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -96,6 +96,7 @@ - Fix enable undo just after using pencil [Taiga #5674](https://tree.taiga.io/project/penpot/issue/5674) - Fix 400 error when user changes password [Taiga #5643](https://tree.taiga.io/project/penpot/issue/5643) - Fix cannot undo layer styles [Taiga #5676](https://tree.taiga.io/project/penpot/issue/5676) +- Fix unexpected exception on boolean shapes [Taiga #5685](https://tree.taiga.io/project/penpot/issue/5685) ### :arrow_up: Deps updates diff --git a/common/src/app/common/types/shape.cljc b/common/src/app/common/types/shape.cljc index 4b5703acd2..6a917cbd5e 100644 --- a/common/src/app/common/types/shape.cljc +++ b/common/src/app/common/types/shape.cljc @@ -182,7 +182,7 @@ [:vector {:gen/max 2} [:map [:command :keyword] - [:relative :boolean] + [:relative {:optional true} :boolean] [:params [:map-of {:gen/max 5} :keyword ::sm/safe-number]]]]]]) (sm/def! ::rect-attrs