This commit is contained in:
@@ -17,19 +17,9 @@ function addNavItem(title, icon, route) {
|
||||
// on change of authentication status
|
||||
export default function initialize() {
|
||||
if (store.state.authenticated) {
|
||||
//GET LOCALIZED TEXT FOR SHELL
|
||||
//GET ALL DEFAULT LOCALIZED TEXT FOR SHELL
|
||||
locale
|
||||
.fetch([
|
||||
"Home",
|
||||
"Service",
|
||||
"Dispatch",
|
||||
"Inventory",
|
||||
"Accounting",
|
||||
"Administration",
|
||||
"Operations",
|
||||
"HelpAboutAyaNova",
|
||||
"Logout"
|
||||
])
|
||||
.fetch(locale.coreKeys)
|
||||
.then(function() {
|
||||
//put nav items into store
|
||||
//Everyone has a home
|
||||
|
||||
Reference in New Issue
Block a user