diff --git a/client/src/components/Apps/AppForm/AppForm.tsx b/client/src/components/Apps/AppForm/AppForm.tsx index a154e0a..30d25ce 100644 --- a/client/src/components/Apps/AppForm/AppForm.tsx +++ b/client/src/components/Apps/AppForm/AppForm.tsx @@ -165,7 +165,7 @@ export const AppForm = ({ modalHandler }: Props): JSX.Element => { /> Use icon name from MDI or pass a valid URL. - + {' '} Click here for reference diff --git a/client/src/utility/redirectUrl.ts b/client/src/utility/redirectUrl.ts index 533f5d2..b3259e1 100644 --- a/client/src/utility/redirectUrl.ts +++ b/client/src/utility/redirectUrl.ts @@ -4,7 +4,7 @@ export const redirectUrl = (url: string, sameTab: boolean) => { const parsedUrl = urlParser(url)[1]; if (sameTab) { - document.location.replace(parsedUrl); + document.location.assign(parsedUrl); } else { window.open(parsedUrl); }