4774-traducciones #853

Open
carlossa wants to merge 34 commits from 4774-traducciones into dev
3 changed files with 11 additions and 15 deletions
Showing only changes of commit f849e71050 - Show all commits

View File

@ -43,5 +43,5 @@ export default [
Zone, Zone,
Account, Account,
Monitor, Monitor,
Role, TranslationsVn,
]; ];

View File

@ -57,15 +57,6 @@ const workerCard = {
}, },
component: () => import('src/pages/Worker/Card/WorkerBasicData.vue'), component: () => import('src/pages/Worker/Card/WorkerBasicData.vue'),
}, },
{
path: 'translations',
name: 'TranslationsVn',
meta: {
title: 'translations',
icon: 'history_edu',
},
component: () => import('src/pages/Worker/TranslationsVn.vue'),
},
{ {
path: 'notes', path: 'notes',
name: 'NotesCard', name: 'NotesCard',
@ -242,7 +233,7 @@ export default {
icon: 'vn:worker', icon: 'vn:worker',
moduleName: 'Worker', moduleName: 'Worker',
keyBinding: 'w', keyBinding: 'w',
menu: ['WorkerList', 'WorkerDepartment'], menu: ['WorkerList', 'WorkerDepartment', 'TranslationsVn'],
}, },
component: RouterView, component: RouterView,
redirect: { name: 'WorkerMain' }, redirect: { name: 'WorkerMain' },
@ -284,6 +275,15 @@ export default {
departmentCard, departmentCard,
], ],
}, },
{
path: 'translations',
name: 'TranslationsVn',
meta: {
title: 'translations',
icon: 'history_edu',
},
component: () => import('src/pages/Worker/TranslationsVn.vue'),
},
], ],
}, },
], ],

View File

@ -19,8 +19,6 @@ import agency from 'src/router/modules/agency';
import zone from 'src/router/modules/zone'; import zone from 'src/router/modules/zone';
import account from 'src/router/modules/account'; import account from 'src/router/modules/account';
import monitor from 'src/router/modules/monitor'; import monitor from 'src/router/modules/monitor';
import mailAlias from 'src/router/modules/mailAlias';
import translationsVn from 'src/router/modules/translationsVn';
const routes = [ const routes = [
{ {
@ -93,8 +91,6 @@ const routes = [
ItemType, ItemType,
zone, zone,
account, account,
mailAlias,
translationsVn,
{ {
path: '/:catchAll(.*)*', path: '/:catchAll(.*)*',
name: 'NotFound', name: 'NotFound',