From 9850bcf0e73271739a821adb4af1c2c43566f28a Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Tue, 17 Oct 2023 14:30:25 +0100 Subject: [PATCH] fix fmt --- StatusPage/src/Components/MasterPage/MasterPage.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/StatusPage/src/Components/MasterPage/MasterPage.tsx b/StatusPage/src/Components/MasterPage/MasterPage.tsx index 87db3f0c2e..20becd1a97 100644 --- a/StatusPage/src/Components/MasterPage/MasterPage.tsx +++ b/StatusPage/src/Components/MasterPage/MasterPage.tsx @@ -103,7 +103,8 @@ const DashboardMasterPage: FunctionComponent = ( if (Navigation.getQueryStringByName('redirectUrl')) { Navigation.navigate( - new Route(Navigation.getQueryStringByName('redirectUrl')!) + new Route(Navigation.getQueryStringByName('redirectUrl')!), + { forceNavigate: true } ); } else { Navigation.navigate( @@ -115,7 +116,8 @@ const DashboardMasterPage: FunctionComponent = ( : RouteUtil.populateRouteParams( RouteMap[PageMap.PREVIEW_OVERVIEW]!, statusPageId - ) + ), + { forceNavigate: true } ); } }