From 91b6f865217223cc8ef7e8229bcdbe6e1b8d416d Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 9 Jul 2021 17:40:02 +0000 Subject: [PATCH] DeWidgetification round 1 --- ayanova/src/api/initialize.js | 8 ++++---- ayanova/src/router.js | 28 ++++++++++++++-------------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/ayanova/src/api/initialize.js b/ayanova/src/api/initialize.js index 2fd2be3a..b111d1f8 100644 --- a/ayanova/src/api/initialize.js +++ b/ayanova/src/api/initialize.js @@ -693,10 +693,10 @@ function initNavPanel() { addNavItem("Operations", "$ayiServer", undefined, sub, key++, "operations"); } - //############ WIDGETS (TOP GROUP) - if (window.$gz.role.canOpen(window.$gz.type.Widget)) { - addNavItem("WidgetList", "$ayiVial", "/widgets", [], key++, "widgets"); - } + // //############ WIDGETS (TOP GROUP) + // if (window.$gz.role.canOpen(window.$gz.type.Widget)) { + // addNavItem("WidgetList", "$ayiVial", "/widgets", [], key++, "widgets"); + // } //*** EVALUATION active trial license should always go to evaluation as home page //as long as they are a normal User type and not a subcontractor type diff --git a/ayanova/src/router.js b/ayanova/src/router.js index 5175e0d0..286ce3ec 100644 --- a/ayanova/src/router.js +++ b/ayanova/src/router.js @@ -923,21 +923,21 @@ export default new Router({ }, //TEST TEST TEST TEST TEST - { - //NEW TEST GZ DATA TABLE - path: "/widgets", - name: "widget-list", - component: () => - import(/* webpackChunkName: "widget" */ "./views/widgets.vue") - }, + // { + // //NEW TEST GZ DATA TABLE + // path: "/widgets", + // name: "widget-list", + // component: () => + // import(/* webpackChunkName: "widget" */ "./views/widgets.vue") + // }, - { - //TEST WIDGET EDIT FORM - path: "/widgets/:recordid", - name: "widget-edit", - component: () => - import(/* webpackChunkName: "widget" */ "./views/widget.vue") - }, + // { + // //TEST WIDGET EDIT FORM + // path: "/widgets/:recordid", + // name: "widget-edit", + // component: () => + // import(/* webpackChunkName: "widget" */ "./views/widget.vue") + // }, { path: "/ay-evaluate", name: "ay-evaluate",