Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/pages/home/ReportScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ class ReportScreen extends React.Component {
}
>
<FullPageNotFoundView
shouldShow={(!reportID && !this.props.report.isLoadingReportActions && !isLoading) || shouldHideReport}
shouldShow={(!this.props.report.reportID && !this.props.report.isLoadingReportActions && !isLoading) || shouldHideReport}
subtitleKey="notFound.noAccess"
shouldShowCloseButton={false}
shouldShowBackButton={this.props.isSmallScreenWidth}
Expand Down
5 changes: 4 additions & 1 deletion src/pages/home/report/ReportActionItemThread.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import withWindowDimensions, {windowDimensionsPropTypes} from '../../../componen
import CONST from '../../../CONST';
import avatarPropTypes from '../../../components/avatarPropTypes';
import MultipleAvatars from '../../../components/MultipleAvatars';
import Navigation from '../../../libs/Navigation/Navigation';
import ROUTES from '../../../ROUTES';
import compose from '../../../libs/compose';

const propTypes = {
Expand Down Expand Up @@ -41,7 +43,8 @@ const ReportActionItemThread = (props) => {
<View style={[styles.chatItemMessage]}>
<Pressable
onPress={() => {
Report.navigateToAndOpenChildReport(props.childReportID);
Report.openReport(props.childReportID);
Navigation.navigate(ROUTES.getReportRoute(props.childReportID));
}}
>
<View style={[styles.flexRow, styles.alignItemsCenter, styles.mt2]}>
Expand Down