mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 02:05:45 +03:00
Merge pull request #5369 from matrix-org/t3chguy/countly
fix CountlyAnalytics canEnable on wrong target
This commit is contained in:
commit
b6532f9b80
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ export default class SecurityUserSettingsTab extends React.Component {
|
|||
}
|
||||
|
||||
let privacySection;
|
||||
if (Analytics.canEnable() || CountlyAnalytics.canEnable()) {
|
||||
if (Analytics.canEnable() || CountlyAnalytics.instance.canEnable()) {
|
||||
privacySection = <React.Fragment>
|
||||
<div className="mx_SettingsTab_heading">{_t("Privacy")}</div>
|
||||
<div className="mx_SettingsTab_section">
|
||||
|
|
Loading…
Reference in a new issue