diff --git a/src/pages/ReportDetailsPage.js b/src/pages/ReportDetailsPage.js index 08a19ba59d1b..10dc4ea4f738 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'; @@ -103,6 +103,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', []); @@ -131,13 +132,12 @@ class ReportDetailsPage extends Component { - + + +