0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-15 17:21:17 -05:00

Add audit events for component swap action

This commit is contained in:
Andrey Antukh 2024-02-29 11:07:37 +01:00 committed by Alonso Torres
parent 0b20d85677
commit a40d207dfd

View file

@ -953,6 +953,10 @@
(dm/assert! (uuid? id-new-component))
(dm/assert! (uuid? file-id))
(ptk/reify ::component-multi-swap
ev/Event
(-data [_]
{::ev/name "component-swap"})
ptk/WatchEvent
(watch [_ _ _]
(let [undo-id (js/Symbol)]