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:
parent
0b20d85677
commit
a40d207dfd
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue