diff --git a/jam-ui/src/components/page/JKAppLaunch.js b/jam-ui/src/components/page/JKAppLaunch.js index 5c45a107f..383da7541 100644 --- a/jam-ui/src/components/page/JKAppLaunch.js +++ b/jam-ui/src/components/page/JKAppLaunch.js @@ -16,7 +16,7 @@ const JKCustomUrlSchemaHandle = () => { useEffect(() => { if (urlScheme) { - window.open(urlScheme, "_blank"); + window.open(urlScheme, '_self'); } }, [urlScheme]); diff --git a/jam-ui/src/components/page/JKNewMusicSession.js b/jam-ui/src/components/page/JKNewMusicSession.js index 5fe481b6c..c18014c29 100644 --- a/jam-ui/src/components/page/JKNewMusicSession.js +++ b/jam-ui/src/components/page/JKNewMusicSession.js @@ -99,7 +99,7 @@ const JKNewMusicSession = () => { const q = `privacy~${payload.privacy}|description~${payload.description}|inviteeIds~${payload.inviteeIds}`; //const urlScheme = jkCustomUrlScheme('createSession', q); //window.location.href = urlScheme; - //history.push(`/applaunch?${q}`); + history.push(`/applaunch?${q}`); } catch (error) { toggleAppUnavilableModel(); }