mirror of
https://github.com/penpot/penpot.git
synced 2026-04-26 19:58:09 +00:00
✨ Add audit events for component swap action
This commit is contained in:
parent
0b20d85677
commit
a40d207dfd
@ -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)]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user