+
-
-
Responsive monitor
-
-
-
- {{ slideText }}
-
-
-
- {{ slideText }}
-
-
-
- {{ slideText }}
-
-
-
- {{ slideText }}
-
-
-
-
-
Responsive monitor
-
Dashboard page..
-
-
-
Responsive monitor
-
Dashboard page..
-
-
-
-
-
Responsive monitor
-
Dashboard page..
-
-
-
Responsive monitor
-
Dashboard page..
-
-
-
-
-
-
Responsive monitor
-
Dashboard page..
+
+
{{ t('globals.favoriteModules') }}
+
+
+
+
+ {{ t(`${module.name}.pageTitles.${module.title}`) }}
+
+
+
+
-
+
diff --git a/src/pages/Ticket/TicketMain.vue b/src/pages/Ticket/TicketMain.vue
index 731ebb803..9787fc415 100644
--- a/src/pages/Ticket/TicketMain.vue
+++ b/src/pages/Ticket/TicketMain.vue
@@ -15,7 +15,7 @@ const miniState = ref(true);
@mouseover="miniState = false"
@mouseout="miniState = true"
mini-to-overlay
- :width="200"
+ :width="256"
:breakpoint="500"
>
diff --git a/src/router/modules/customer.js b/src/router/modules/customer.js
index 9fc377f62..e52488146 100644
--- a/src/router/modules/customer.js
+++ b/src/router/modules/customer.js
@@ -4,6 +4,7 @@ export default {
path: '/customer',
name: 'Customer',
meta: {
+ roles: ['developer'],
title: 'customers',
icon: 'vn:client'
},
diff --git a/src/router/modules/ticket.js b/src/router/modules/ticket.js
index 8920b1104..2cbe8bc3f 100644
--- a/src/router/modules/ticket.js
+++ b/src/router/modules/ticket.js
@@ -4,6 +4,7 @@ export default {
path: '/ticket',
name: 'Ticket',
meta: {
+ roles: ['developer'],
title: 'tickets',
icon: 'vn:ticket'
},
diff --git a/tests/cypress/integration/login.spec.js b/tests/cypress/integration/login.spec.js
index 3e23acc36..4721c4567 100755
--- a/tests/cypress/integration/login.spec.js
+++ b/tests/cypress/integration/login.spec.js
@@ -47,12 +47,13 @@ describe('Login', () => {
cy.url().should('contain', '/dashboard');
})
- it(`should get redirected to ticket creation after login since salesPerson can do it`, () => {
- cy.visit('/#/ticket/create', { failOnStatusCode: false });
- cy.url().should('contain', '/#/login?redirect=/ticket/create');
- cy.get('input[aria-label="Username"]').type('salesPerson');
- cy.get('input[aria-label="Password"]').type('nightmare');
- cy.get('button[type="submit"]').click();
- cy.url().should('contain', '/#/ticket/create');
- })
+ // ticket creation is not yet implemented, use this test once it is
+ // it(`should get redirected to ticket creation after login since salesPerson can do it`, () => {
+ // cy.visit('/#/ticket/create', { failOnStatusCode: false });
+ // cy.url().should('contain', '/#/login?redirect=/ticket/create');
+ // cy.get('input[aria-label="Username"]').type('salesPerson');
+ // cy.get('input[aria-label="Password"]').type('nightmare');
+ // cy.get('button[type="submit"]').click();
+ // cy.url().should('contain', '/#/ticket/create');
+ // })
});
\ No newline at end of file