new Changes

This commit is contained in:
saeid
2019-08-21 14:02:00 +04:30
parent acfdc8353f
commit 91f2a17992
2 changed files with 7 additions and 11 deletions
@@ -94,41 +94,41 @@ export default {
text: 'Dashboard' text: 'Dashboard'
}, },
{ {
to: {name: 'My Info'}, to: {name: 'MyInfo'},
icon: 'mdi-account', icon: 'mdi-account',
text: 'My Info' text: 'My Info'
}, },
{ {
to: {name: 'All ResultTest'}, to: {name: 'AllResultTest'},
icon: 'description', icon: 'description',
text: 'All Test Result' text: 'All Test Result'
}, },
{ {
to: {name: 'Manage Users'}, to: {name: 'ManageUsers'},
icon: 'far fa-address-book', icon: 'far fa-address-book',
text: 'Manage Users', text: 'Manage Users',
role: 'Admin|Supervisor', role: 'Admin|Supervisor',
}, },
{ {
to: {name: 'List TestType'}, to: {name: 'ListTestType'},
icon: 'fas fa-vial', icon: 'fas fa-vial',
text: 'List Test Type', text: 'List Test Type',
role: 'Admin' role: 'Admin'
}, },
{ {
to: {name: 'All Item'}, to: {name: 'AllItem'},
icon: 'done', icon: 'done',
text: 'Items', text: 'Items',
role: 'Admin' role: 'Admin'
}, },
{ {
to: {name: 'All Package'}, to: {name: 'AllPackage'},
icon: 'done', icon: 'done',
text: 'Packages', text: 'Packages',
role: 'Admin' role: 'Admin'
}, },
{ {
to: {name: 'All Cycle'}, to: {name: 'AllCycle'},
icon: 'done', icon: 'done',
text: 'Cycles', text: 'Cycles',
role: 'Admin' role: 'Admin'
-4
View File
@@ -10,11 +10,8 @@ import './plugins'
import 'material-design-icons-iconfont/dist/material-design-icons.css' import 'material-design-icons-iconfont/dist/material-design-icons.css'
// Fortawesome // Fortawesome
import '@fortawesome/fontawesome-free/css/all.css' import '@fortawesome/fontawesome-free/css/all.css'
// Sync router with store
import { sync } from 'vuex-router-sync'
// Application imports // Application imports
import App from './App.vue' import App from './App.vue'
import i18n from '@/i18n'
import router from '@/router' import router from '@/router'
import store from '@/store' import store from '@/store'
@@ -47,7 +44,6 @@ Vue.mixin(hasRole)
/* eslint-disable no-new */ /* eslint-disable no-new */
new Vue({ new Vue({
i18n,
router, router,
store, store,
render: h => h(App), render: h => h(App),