mirror of
https://github.com/toeverything/AFFiNE.git
synced 2025-01-05 14:24:38 +03:00
fix(core): opt out telemetry condition (#6341)
This commit is contained in:
parent
d4c7d58b00
commit
39facba92e
@ -12,7 +12,7 @@ export function Telemetry() {
|
||||
persistence: 'localStorage',
|
||||
});
|
||||
}
|
||||
if (settings.enableTelemetry !== false) {
|
||||
if (settings.enableTelemetry === false) {
|
||||
mixpanel.opt_out_tracking();
|
||||
}
|
||||
}, [settings.enableTelemetry]);
|
||||
|
Loading…
Reference in New Issue
Block a user