From 65f556d3ae016619f792586fc5091ba30ae13c84 Mon Sep 17 00:00:00 2001 From: Bernhard Owen Josephus Date: Thu, 14 Sep 2023 17:37:18 +0800 Subject: [PATCH] make reportid optional --- src/ROUTES.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ROUTES.ts b/src/ROUTES.ts index 3bbdf4709cfc..37e6453d0826 100644 --- a/src/ROUTES.ts +++ b/src/ROUTES.ts @@ -71,7 +71,7 @@ export default { NEW_CHAT: 'new/chat', NEW_TASK, REPORT, - REPORT_WITH_ID: 'r/:reportID/:reportActionID?', + REPORT_WITH_ID: 'r/:reportID?/:reportActionID?', EDIT_REQUEST: 'r/:threadReportID/edit/:field', getEditRequestRoute: (threadReportID: string, field: ValueOf) => `r/${threadReportID}/edit/${field}`, EDIT_CURRENCY_REQUEST: 'r/:threadReportID/edit/currency',