mirror of
https://github.com/penpot/penpot.git
synced 2025-02-08 08:09:14 -05:00
🐛 Add missing audit event on copy-all-code
This commit is contained in:
parent
a6562619a3
commit
835c29fbea
1 changed files with 8 additions and 1 deletions
|
@ -189,7 +189,14 @@
|
|||
(mf/use-fn
|
||||
(mf/deps style-code markup-code images-data)
|
||||
(fn []
|
||||
(wapi/write-to-clipboard (gen-all-code style-code markup-code images-data))))
|
||||
(wapi/write-to-clipboard (gen-all-code style-code markup-code images-data))
|
||||
(let [origin (if (= :workspace from)
|
||||
"workspace"
|
||||
"viewer")]
|
||||
(st/emit! (ptk/event ::ev/event
|
||||
{::ev/name "copy-inspect-code"
|
||||
::ev/origin origin
|
||||
:type "all"})))))
|
||||
|
||||
;;handle-open-review
|
||||
;;(mf/use-fn
|
||||
|
|
Loading…
Add table
Reference in a new issue