Merge branch 'NiceDev' into develop

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-02-05 09:57:29 +07:00
commit 085348543f

View file

@ -236,7 +236,11 @@ function onInfo() {
// landing page redirect
const landingPageUrl = ref<string>(getLandingUrl());
function getLandingUrl() {
return configParam.landingPageUrl;
if (window.location.hostname === "bma-ehr-user.frappet.synology.me") {
return `${configParam.landingPageUrl}/e-hr`;
} else {
return configParam.landingPageUrl;
}
}
function onViewDetailNoti(url: string) {