Skip to content

Commit

Permalink
fix: send event opt out (#4390)
Browse files Browse the repository at this point in the history
* fux: send event opt out from button deny

* chore: fix copy

* chore: update placeholder
  • Loading branch information
urmauur authored Jan 2, 2025
1 parent 33bb35c commit 538a6bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
{
"key": "cpu_threads",
"title": "CPU Threads",
"description": "The number of threads to use for inferencing (CPU MODE ONLY)",
"description": "The number of CPU threads to use (when in CPU mode)",
"controllerType": "input",
"controllerProps": {
"value": "",
"placeholder": "4"
"placeholder": "Number of CPU threads"
}
},
{
Expand Down
1 change: 1 addition & 0 deletions web/containers/Layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ const BaseLayout = () => {
if (isAllowed) {
posthog.opt_in_capturing()
} else {
posthog.capture('user_opt_out', { timestamp: new Date() })
posthog.opt_out_capturing()
}
}
Expand Down

0 comments on commit 538a6bf

Please sign in to comment.