mirror of
https://github.com/penpot/penpot.git
synced 2026-09-08 13:09:22 +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? 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…
x
Reference in New Issue
Block a user