From 3eae3178a248de8e9c30769a1e9acea6debdbe12 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Thu, 27 Feb 2025 14:31:49 +0100 Subject: [PATCH] :bug: Fix problems with empty position-data --- frontend/src/app/main/ui/shapes/text.cljs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/main/ui/shapes/text.cljs b/frontend/src/app/main/ui/shapes/text.cljs index 89802ca817..9a7c50c092 100644 --- a/frontend/src/app/main/ui/shapes/text.cljs +++ b/frontend/src/app/main/ui/shapes/text.cljs @@ -35,5 +35,8 @@ ;; Old components can have texts without position data that must be rendered via foreign key (cond - (some? position-data) [:> svg/text-shape props] - is-component? [:> fo/text-shape props]))) + (some? position-data) + [:> svg/text-shape props] + + (or (nil? position-data) is-component?) + [:> fo/text-shape props])))