mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-04 00:48:47 +00:00
fix: disable mobile guide
This commit is contained in:
@@ -12,7 +12,7 @@ import ToastStore from "../stores/ToastStore";
|
|||||||
import SdkConfig from "../SdkConfig";
|
import SdkConfig from "../SdkConfig";
|
||||||
|
|
||||||
const onAccept = (): void => {
|
const onAccept = (): void => {
|
||||||
window.location.href = "mobile_guide/";
|
window.location.href = "https://healthchat.ch";
|
||||||
};
|
};
|
||||||
|
|
||||||
const onReject = (): void => {
|
const onReject = (): void => {
|
||||||
|
|||||||
+1
-1
@@ -149,7 +149,7 @@ async function start(): Promise<void> {
|
|||||||
const isAndroid = /Android/.test(navigator.userAgent);
|
const isAndroid = /Android/.test(navigator.userAgent);
|
||||||
if (isIos || isAndroid) {
|
if (isIos || isAndroid) {
|
||||||
if (document.cookie.indexOf("element_mobile_redirect_to_guide=false") === -1) {
|
if (document.cookie.indexOf("element_mobile_redirect_to_guide=false") === -1) {
|
||||||
window.location.href = "mobile_guide/";
|
window.location.href = "https://healthchat.ch";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user