diff --git a/src/pages/ReportDetailsPage.js b/src/pages/ReportDetailsPage.js index 7e5a38625c9c..d183a833a4c3 100644 --- a/src/pages/ReportDetailsPage.js +++ b/src/pages/ReportDetailsPage.js @@ -5,7 +5,7 @@ import Str from 'expensify-common/lib/str'; import _ from 'underscore'; import {View, ScrollView} from 'react-native'; import lodashGet from 'lodash/get'; -import Avatar from '../components/Avatar'; +import RoomHeaderAvatars from '../components/RoomHeaderAvatars'; import compose from '../libs/compose'; import withLocalize, {withLocalizePropTypes} from '../components/withLocalize'; import ONYXKEYS from '../ONYXKEYS'; @@ -108,6 +108,7 @@ class ReportDetailsPage extends Component { } render() { + const isPolicyExpenseChat = ReportUtils.isPolicyExpenseChat(this.props.report); const isChatRoom = ReportUtils.isChatRoom(this.props.report); const chatRoomSubtitle = ReportUtils.getChatRoomSubtitle(this.props.report, this.props.policies); const participants = lodashGet(this.props.report, 'participants', []); @@ -136,13 +137,12 @@ class ReportDetailsPage extends Component { - + + +