This commit is contained in:
2020-12-21 15:50:31 +00:00
parent cacd38efcd
commit 7864ba906b
4 changed files with 19 additions and 8 deletions

View File

@@ -151,14 +151,6 @@ function initNavPanel() {
key: key++
});
//HISTORY / MRU / ACTIVITY (personal)
sub.push({
title: "History",
icon: "$ayiHistory",
route: `/history/3/${window.$gz.store.state.userId}/true`,
key: key++
});
//SCHEDULE (personal)
sub.push({
title: "Schedule",
@@ -207,6 +199,14 @@ function initNavPanel() {
key: key++
});
//HISTORY / MRU / ACTIVITY (personal)
sub.push({
title: "History",
icon: "$ayiHistory",
route: `/history/3/${window.$gz.store.state.userId}/true`,
key: key++
});
//HOME
if (sub.length > 0) {
//Set homePage in store to dashboard

View File

@@ -129,6 +129,7 @@ export default {
"Dashboard",
"Schedule",
"MemoList",
"ReviewList",
"UserSettings",
"SetLoginPassword",
"NotifySubscriptionList",

View File

@@ -125,6 +125,12 @@ export default new Router({
component: () =>
import(/* webpackChunkName: "ay-common" */ "./views/home-reminders.vue")
},
{
path: "/home-reviews",
name: "home-reviews",
component: () =>
import(/* webpackChunkName: "ay-common" */ "./views/home-reviews.vue")
},
{
path: "/home-user-settings",
name: "home-user-settings",

View File

@@ -35,6 +35,10 @@ describe("SMOKE", () => {
cy.url().should("include", "/home-reminders");
cy.get("[data-cy=underconstruction]");
cy.visit("/home-reviews");
cy.url().should("include", "/home-reviews");
cy.get("[data-cy=underconstruction]");
cy.visit("/home-user-settings");
cy.url().should("include", "/home-user-settings");
cy.get("[data-cy=emailAddress]");