diff --git a/web/modals/threads/subchannels/subchannel.react.js b/web/modals/threads/subchannels/subchannel.react.js --- a/web/modals/threads/subchannels/subchannel.react.js +++ b/web/modals/threads/subchannels/subchannel.react.js @@ -1,5 +1,6 @@ // @flow +import classNames from 'classnames'; import * as React from 'react'; import { useModalContext } from 'lib/components/modal-provider.react'; @@ -26,6 +27,13 @@ lastUpdatedTimeIncludingSidebars, } = chatThreadItem; + const { unread } = threadInfo.currentUser; + + const subchannelTitleClassName = classNames({ + [css.subchannelInfo]: true, + [css.unread]: unread, + }); + const timeZone = useSelector(state => state.timeZone); const { popModal } = useModalContext(); @@ -65,7 +73,7 @@ return (