diff --git a/src/components/views/globals/CookieBar.js b/src/components/views/globals/CookieBar.js index 8fab64be67..ad00884dd2 100644 --- a/src/components/views/globals/CookieBar.js +++ b/src/components/views/globals/CookieBar.js @@ -19,6 +19,7 @@ import PropTypes from 'prop-types'; import dis from '../../../dispatcher'; import { _t } from '../../../languageHandler'; import sdk from '../../../index'; +import Analytics from '../../../Analytics'; export default class CookieBar extends React.Component { static propTypes = { @@ -29,6 +30,10 @@ export default class CookieBar extends React.Component { super(); } + onUsageDataClicked() { + Analytics.showDetailsModal(); + } + onAccept() { dis.dispatch({ action: 'accept_cookies', @@ -49,11 +54,18 @@ export default class CookieBar extends React.Component {