This commit is contained in:
Simon Larsen 2023-05-08 12:37:14 +01:00
parent 83f8d57254
commit 218b6b99be
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE
8 changed files with 24 additions and 16 deletions

View File

@ -86,8 +86,9 @@ const Overview: FunctionComponent<PageComponentProps> = (
? `/status-page/${
props.statusPageId
}/login?redirectUrl=${Navigation.getCurrentPath()}`
: `/login?redirectUrl=${Navigation.getCurrentPath()}` ), {forceNavigate: true}
: `/login?redirectUrl=${Navigation.getCurrentPath()}`
),
{ forceNavigate: true }
);
}

View File

@ -61,8 +61,9 @@ const Overview: FunctionComponent<PageComponentProps> = (
? `/status-page/${
props.statusPageId
}/login?redirectUrl=${Navigation.getCurrentPath()}`
: `/login?redirectUrl=${Navigation.getCurrentPath()}` ), {forceNavigate: true}
: `/login?redirectUrl=${Navigation.getCurrentPath()}`
),
{ forceNavigate: true }
);
}

View File

@ -168,8 +168,9 @@ const Detail: FunctionComponent<PageComponentProps> = (
? `/status-page/${
props.statusPageId
}/login?redirectUrl=${Navigation.getCurrentPath()}`
: `/login?redirectUrl=${Navigation.getCurrentPath()}` ), {forceNavigate: true}
: `/login?redirectUrl=${Navigation.getCurrentPath()}`
),
{ forceNavigate: true }
);
}

View File

@ -67,8 +67,9 @@ const Overview: FunctionComponent<PageComponentProps> = (
? `/status-page/${
props.statusPageId
}/login?redirectUrl=${Navigation.getCurrentPath()}`
: `/login?redirectUrl=${Navigation.getCurrentPath()}` ), {forceNavigate: true}
: `/login?redirectUrl=${Navigation.getCurrentPath()}`
),
{ forceNavigate: true }
);
}

View File

@ -105,8 +105,9 @@ const Overview: FunctionComponent<PageComponentProps> = (
? `/status-page/${
props.statusPageId
}/login?redirectUrl=${Navigation.getCurrentPath()}`
: `/login?redirectUrl=${Navigation.getCurrentPath()}` ), {forceNavigate: true}
: `/login?redirectUrl=${Navigation.getCurrentPath()}`
),
{ forceNavigate: true }
);
}

View File

@ -178,8 +178,9 @@ const Overview: FunctionComponent<PageComponentProps> = (
? `/status-page/${
props.statusPageId
}/login?redirectUrl=${Navigation.getCurrentPath()}`
: `/login?redirectUrl=${Navigation.getCurrentPath()}` ), {forceNavigate: true}
: `/login?redirectUrl=${Navigation.getCurrentPath()}`
),
{ forceNavigate: true }
);
}

View File

@ -70,8 +70,9 @@ const Overview: FunctionComponent<PageComponentProps> = (
? `/status-page/${
props.statusPageId
}/login?redirectUrl=${Navigation.getCurrentPath()}`
: `/login?redirectUrl=${Navigation.getCurrentPath()}` ), {forceNavigate: true}
: `/login?redirectUrl=${Navigation.getCurrentPath()}`
),
{ forceNavigate: true }
);
}

View File

@ -40,8 +40,9 @@ const SubscribePage: FunctionComponent<PageComponentProps> = (
? `/status-page/${
props.statusPageId
}/login?redirectUrl=${Navigation.getCurrentPath()}`
: `/login?redirectUrl=${Navigation.getCurrentPath()}` ), {forceNavigate: true}
: `/login?redirectUrl=${Navigation.getCurrentPath()}`
),
{ forceNavigate: true }
);
}