hide analytics settings if no piwik url

This commit is contained in:
Matthew Hodgson 2017-06-02 13:34:01 +01:00
parent e9c326a655
commit 375b435dfe

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