fix: send event opt out (#4390)
* fux: send event opt out from button deny * chore: fix copy * chore: update placeholder
This commit is contained in:
parent
33bb35cb99
commit
538a6bf923
@ -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"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user