Add a few small enhancements

This commit is contained in:
Andrés Moya 2023-11-17 13:45:06 +01:00 committed by Andrés Moya
parent 6c1c780758
commit dcd347ab4f
3 changed files with 22 additions and 18 deletions

View file

@ -284,7 +284,7 @@
[component]
(if (and (contains? component :objects) (nil? (:objects component)))
(if (:deleted component)
(assoc component :objects [])
(assoc component :objects {})
(dissoc component :objects))
component))]
(-> file-data