customer docs

This commit is contained in:
2022-03-31 22:35:14 +00:00
parent ec185874fd
commit 4cd82e0214
4 changed files with 24 additions and 5 deletions

View File

@@ -314,8 +314,17 @@ export default {
if (!item.disabled && item.owner == "app") {
switch (item.key) {
case "help":
window.open(window.$gz.api.helpUrl() + item.data, "_blank");
if (item.data.includes("~customer~")) {
window.open(
window.$gz.api.helpUrlCustomer() +
item.data.replace("~customer~", ""),
"_blank"
);
} else {
window.open(window.$gz.api.helpUrl() + item.data, "_blank");
}
break;
case "search":
vm.$router.push({
name: "home-search",