This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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: "*",
|
||||
|
||||
Reference in New Issue
Block a user