This commit is contained in:
2020-06-11 17:47:10 +00:00
parent 36007948b1
commit 50f16ab973
4 changed files with 15 additions and 7 deletions

View File

@@ -740,6 +740,13 @@ function initNavPanel() {
//*** LOGOUT - all users
addNavItem(t("Logout"), "fa-sign-out-alt", "/login", [], key++, "logout");
//*** EVALUATION active trial license should always go to evaluation as home page
if (licenseState == 1) {
addNavItem(t("Evaluate"), "fa-rocket", "/evaluate", [], key++, "evaluate");
window.$gz.store.commit("setHomePage", "/ay-evaluate");
return;
}
}
function getUserOptions() {

View File

@@ -46,7 +46,7 @@ export default {
//Keys that will always be required for any AyaNova work for any user
coreKeys: [
//main nav options
"Launch",
"Evaluate",
"Home",
"Dashboard",
"Schedule",

View File

@@ -275,12 +275,7 @@ export default new Router({
component: () =>
import(/* webpackChunkName: "acc" */ "./views/acc-accounting.vue")
},
{
path: "/adm-launch",
name: "adm-launch",
component: () =>
import(/* webpackChunkName: "adm" */ "./views/adm-launch.vue")
},
{
path: "/adm-global-settings",
name: "adm-global-settings",
@@ -477,6 +472,12 @@ export default new Router({
component: () =>
import(/* webpackChunkName: "widget" */ "./views/widget.vue")
},
{
path: "/ay-evaluate",
name: "ay-evaluate",
component: () =>
import(/* webpackChunkName: "evaluate" */ "./views/ay-evaluate.vue")
},
{
//404 404 404 404 404 404 404 404 404 404 404 404 404 404 404 404 404 404 404 404 404 404 404 404
path: "*",