This commit is contained in:
@@ -4,9 +4,6 @@ PRIORITY - ALWAYS Lowest level stuff first, i.e. TODO at server, api route chang
|
|||||||
=-=-=-=-
|
=-=-=-=-
|
||||||
|
|
||||||
|
|
||||||
todo: if dbid in url query parameter of contact form on server it should include that in the message
|
|
||||||
also something needs to be fixed there, it's been in notes forever
|
|
||||||
|
|
||||||
todo: move contact url from evaluate form to gzapi and then consider places to put more contact tech support buttons, perhaps in About form?
|
todo: move contact url from evaluate form to gzapi and then consider places to put more contact tech support buttons, perhaps in About form?
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,18 @@
|
|||||||
// Menu utils and handlers
|
// Menu utils and handlers
|
||||||
//
|
//
|
||||||
export default {
|
export default {
|
||||||
|
///////////////////////////////////////////
|
||||||
|
// TECH SUPPORT / CONTACT FORUM URL
|
||||||
|
//
|
||||||
|
contactSupportUrl() {
|
||||||
|
let dbId = encodeURIComponent(
|
||||||
|
window.$gz.store.state.globalSettings.serverDbId
|
||||||
|
);
|
||||||
|
let company = encodeURIComponent(
|
||||||
|
window.$gz.store.state.globalSettings.company
|
||||||
|
);
|
||||||
|
return `https://contact.ayanova.com/contact?dbid=${dbId}&company=${company}`;
|
||||||
|
},
|
||||||
///////////////////////////////
|
///////////////////////////////
|
||||||
// CHANGE HANDLER
|
// CHANGE HANDLER
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -145,16 +145,7 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
supportLink() {
|
supportLink() {
|
||||||
console.log(window.$gz.store.state.globalSettings);
|
return window.$gz.menu.contactSupportUrl();
|
||||||
let dbId = encodeURIComponent(
|
|
||||||
window.$gz.store.state.globalSettings.serverDbId
|
|
||||||
);
|
|
||||||
let company = encodeURIComponent(
|
|
||||||
window.$gz.store.state.globalSettings.company
|
|
||||||
);
|
|
||||||
return `https://contact.ayanova.com/contact?dbid=${dbId}&company=${company}`;
|
|
||||||
// "https://contact.ayanova.com/contact?dbid=" +
|
|
||||||
// window.$gz.store.state.globalSettings.serverDbId
|
|
||||||
},
|
},
|
||||||
async generate() {
|
async generate() {
|
||||||
let vm = this;
|
let vm = this;
|
||||||
|
|||||||
Reference in New Issue
Block a user