From 3b0d654b6d616676cc5042abe9fb5ae769937282 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Moya?= Date: Wed, 24 Jan 2024 15:39:25 +0100 Subject: [PATCH] :lipstick: Review naming and comments --- backend/src/app/features/components_v2.clj | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/src/app/features/components_v2.clj b/backend/src/app/features/components_v2.clj index 422ef171a..e38450f76 100644 --- a/backend/src/app/features/components_v2.clj +++ b/backend/src/app/features/components_v2.clj @@ -407,10 +407,10 @@ (update :pages-index update-vals fix-container) (d/update-when :components update-vals fix-container)))) - fix-path-copies + fix-converted-copies (fn [file-data] - ;; If the user has created a copy and then converted into a path, detach it - ;; because the synchronization will no longer work. + ;; If the user has created a copy and then converted into a path or bool, + ;; detach it because the synchronization will no longer work. (letfn [(fix-container [container] (d/update-when container :objects update-vals fix-shape)) @@ -532,7 +532,7 @@ (add-not-nested-roots) (remap-refs) (fix-copies-of-detached) - (fix-path-copies) + (fix-converted-copies) (transform-to-frames) (remap-frame-ids) (fix-frame-ids)