Skip to content

Commit

Permalink
Merge pull request #51429 from software-mansion-labs/war-in/deeplinks…
Browse files Browse the repository at this point in the history
…-notifications

[NO QA] Fix notifications for HybridApp deeplinks PR
  • Loading branch information
Julesssss authored Oct 29, 2024
2 parents ac4dc92 + 7313a27 commit b05ae2f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {extractPolicyIDFromPath} from '@libs/PolicyUtils';
import * as ReportConnection from '@libs/ReportConnection';
import {doesReportBelongToWorkspace} from '@libs/ReportUtils';
import Visibility from '@libs/Visibility';
import {updateLastVisitedPath} from '@userActions/App';
import * as Modal from '@userActions/Modal';
import CONST from '@src/CONST';
import ONYXKEYS from '@src/ONYXKEYS';
Expand Down Expand Up @@ -100,6 +101,7 @@ function navigateToReport({reportID, reportActionID}: ReportActionPushNotificati
Navigation.navigateWithSwitchPolicyID({route: ROUTES.HOME});
}
Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(String(reportID)));
updateLastVisitedPath(ROUTES.REPORT_WITH_ID.getRoute(String(reportID)));
} catch (error) {
let errorMessage = String(error);
if (error instanceof Error) {
Expand Down

0 comments on commit b05ae2f

Please sign in to comment.