Skip to content

Commit

Permalink
Merge pull request #46702 from nyomanjyotisa/issue-45812
Browse files Browse the repository at this point in the history
navigate back to report details on back from group name
  • Loading branch information
puneetlath authored Aug 14, 2024
2 parents 04d0b1b + a300587 commit fcf4b4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/GroupChatNameEditPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function GroupChatNameEditPage({groupChatDraft, report}: GroupChatNameEditPagePr
>
<HeaderWithBackButton
title={translate('groupConfirmPage.groupName')}
onBackButtonPress={() => Navigation.goBack(isUpdatingExistingReport ? ROUTES.REPORT_SETTINGS.getRoute(reportID) : ROUTES.NEW_CHAT_CONFIRM)}
onBackButtonPress={() => Navigation.goBack(isUpdatingExistingReport ? ROUTES.REPORT_WITH_ID_DETAILS.getRoute(reportID) : ROUTES.NEW_CHAT_CONFIRM)}
/>
<FormProvider
formID={ONYXKEYS.FORMS.NEW_CHAT_NAME_FORM}
Expand Down

0 comments on commit fcf4b4f

Please sign in to comment.