mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 23:16:38 +02: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? id-new-component))
|
||||||
(dm/assert! (uuid? file-id))
|
(dm/assert! (uuid? file-id))
|
||||||
(ptk/reify ::component-multi-swap
|
(ptk/reify ::component-multi-swap
|
||||||
|
ev/Event
|
||||||
|
(-data [_]
|
||||||
|
{::ev/name "component-swap"})
|
||||||
|
|
||||||
ptk/WatchEvent
|
ptk/WatchEvent
|
||||||
(watch [_ _ _]
|
(watch [_ _ _]
|
||||||
(let [undo-id (js/Symbol)]
|
(let [undo-id (js/Symbol)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue