mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 22:14:58 +08:00
hide analytics settings if no piwik url
This commit is contained in:
parent
e9c326a655
commit
375b435dfe
@ -777,6 +777,8 @@ module.exports = React.createClass({
|
||||
},
|
||||
|
||||
_renderAnalyticsControl: function() {
|
||||
if (!SdkConfig.get().piwik) return <div/>;
|
||||
|
||||
return <div>
|
||||
<h3>{ _t('Analytics') }</h3>
|
||||
<div className="mx_UserSettings_section">
|
||||
|
Loading…
Reference in New Issue
Block a user