hide analytics settings if no piwik url

pull/21833/head
Matthew Hodgson 2017-06-02 13:34:01 +01:00
parent e9c326a655
commit 375b435dfe
1 changed files with 2 additions and 0 deletions

View File

@ -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">