From 76ec90799352603406728cb51b4e70913413f2bd Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Tue, 13 Dec 2016 13:42:10 +0100 Subject: Improved admin UI --- app/assets/javascripts/components/features/notifications/index.jsx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'app/assets/javascripts/components/features/notifications') diff --git a/app/assets/javascripts/components/features/notifications/index.jsx b/app/assets/javascripts/components/features/notifications/index.jsx index 00feeece7..218196cfd 100644 --- a/app/assets/javascripts/components/features/notifications/index.jsx +++ b/app/assets/javascripts/components/features/notifications/index.jsx @@ -26,6 +26,12 @@ const Notifications = React.createClass({ trackScroll: React.PropTypes.bool }, + getDefaultProps () { + return { + trackScroll: true + }; + }, + mixins: [PureRenderMixin], componentWillMount () { -- cgit