fix: undo deleted group #9486

This commit is contained in:
Konstantinos Kaloutas
2023-05-24 20:44:33 +03:00
parent 643616b2e1
commit b1cc247494

View File

@@ -159,7 +159,7 @@
(assoc metadata :whiteboard/op :group)
;; ungroup
(some #(= "group" (:type %)) (get-in metadata [:data :deleted-shapes]))
(every? #(= "group" (:type %)) (get-in metadata [:data :deleted-shapes]))
(assoc metadata :whiteboard/op :un-group)
;; arrow