Update app.config.ts
This commit is contained in:
parent
21687ceaa4
commit
0c894aa6bc
1 changed files with 5 additions and 5 deletions
|
|
@ -52,23 +52,23 @@ const path = "https://bma-ehr-manual.frappet.synology.me"
|
||||||
|
|
||||||
const generatePopupPath = (routeName: any) => {
|
const generatePopupPath = (routeName: any) => {
|
||||||
if (routeName.includes("viewLogs")) {
|
if (routeName.includes("viewLogs")) {
|
||||||
return `${path}/chapter-2-superadmin-maintenance`
|
return `${path}/manual/chapter-2-superadmin-maintenance`
|
||||||
}
|
}
|
||||||
if (routeName.includes("manageUsers")) {
|
if (routeName.includes("manageUsers")) {
|
||||||
return `${path}/chapter-2-superadmin-maintenance`
|
return `${path}/manual/chapter-2-superadmin-maintenance`
|
||||||
}
|
}
|
||||||
if (routeName.includes("manageRoles")) {
|
if (routeName.includes("manageRoles")) {
|
||||||
return `${path}/chapter-2-superadmin-maintenance`
|
return `${path}/manual/chapter-2-superadmin-maintenance`
|
||||||
}
|
}
|
||||||
if (routeName.includes("managePermission")) {
|
if (routeName.includes("managePermission")) {
|
||||||
return `${path}/chapter-2-superadmin-maintenance`
|
return `${path}/manual/chapter-2-superadmin-maintenance`
|
||||||
} else {
|
} else {
|
||||||
return manualConfig[routeName as keyof typeof manualConfig]
|
return manualConfig[routeName as keyof typeof manualConfig]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const manualConfig = {
|
const manualConfig = {
|
||||||
dashboard: `${path}/chapter-2-superadmin-maintenance`,
|
dashboard: `${path}/manual/chapter-2-superadmin-maintenance`,
|
||||||
}
|
}
|
||||||
const API = {
|
const API = {
|
||||||
//Metadata
|
//Metadata
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue