From 860f2c8332f34d02e53ea1460decb4d1490bcbd4 Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Mon, 31 Jul 2017 17:10:43 +0500 Subject: Multiple Ui improvements (#7029) * PLT-7119 - Updating headings on compact view * PLT-7103 - Removing line below channel intro * PLT-7112 - Fixing system console banner * PLT-7144 - Adding ellipsis to system console boxes * PLT-7181 - Changing channel header opacity * PLT-6899 - Updating unread bar * Updating margin for new messages indicator --- webapp/components/post_view/new_message_indicator.jsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'webapp/components/post_view/new_message_indicator.jsx') diff --git a/webapp/components/post_view/new_message_indicator.jsx b/webapp/components/post_view/new_message_indicator.jsx index d5fb6c1d3..537520c29 100644 --- a/webapp/components/post_view/new_message_indicator.jsx +++ b/webapp/components/post_view/new_message_indicator.jsx @@ -3,6 +3,7 @@ import React from 'react'; import PropTypes from 'prop-types'; +import Constants from 'utils/constants.jsx'; import {FormattedMessage} from 'react-intl'; export default class NewMessageIndicator extends React.PureComponent { @@ -30,6 +31,7 @@ export default class NewMessageIndicator extends React.PureComponent { } render() { + const unreadIcon = Constants.UNREAD_ICON_SVG; let className = 'new-messages__button'; if (this.state.visible > 0) { className += ' visible'; @@ -44,14 +46,15 @@ export default class NewMessageIndicator extends React.PureComponent { ref='indicator' >
- +
); -- cgit v1.2.3-1-g7c22