This commit is contained in:
@@ -1687,7 +1687,7 @@ function generateMenu(vm) {
|
||||
ayaType: window.$gz.type.PurchaseOrder,
|
||||
recordId: vm.$route.params.recordid,
|
||||
formCustomTemplateKey: FORM_CUSTOM_TEMPLATE_KEY,
|
||||
recordName: vm.obj.serial
|
||||
recordName: vm.obj.serial.toString()
|
||||
},
|
||||
menuItems: []
|
||||
};
|
||||
|
||||
@@ -371,7 +371,12 @@ export default {
|
||||
},
|
||||
async created() {
|
||||
let vm = this;
|
||||
//debugger;
|
||||
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "",
|
||||
title: null
|
||||
});
|
||||
|
||||
//reset password redirects here with preset creds
|
||||
//this will help the user identify it and hopefully remember it
|
||||
@@ -384,11 +389,6 @@ export default {
|
||||
vm.mediumLogoUrl = window.$gz.api.logoUrl("medium");
|
||||
vm.largeLogoUrl = window.$gz.api.logoUrl("large");
|
||||
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "",
|
||||
title: ""
|
||||
});
|
||||
try {
|
||||
let res = await window.$gz.api.get("notify/hello");
|
||||
if (res.data != null) {
|
||||
@@ -533,6 +533,7 @@ export default {
|
||||
},
|
||||
async login() {
|
||||
let vm = this;
|
||||
|
||||
if (vm.input.username != "" && vm.input.password != "") {
|
||||
vm.errorBadCreds = false;
|
||||
vm.loggedInWithKnownPassword =
|
||||
|
||||
@@ -979,7 +979,7 @@ function generateMenu(vm) {
|
||||
ayaType: window.$gz.type.WorkOrder,
|
||||
recordId: vm.$route.params.recordid,
|
||||
formCustomTemplateKey: FORM_CUSTOM_TEMPLATE_KEY,
|
||||
recordName: vm.obj.serial
|
||||
recordName: vm.obj.serial.toString()
|
||||
},
|
||||
menuItems: []
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user