This commit is contained in:
2020-07-06 13:54:43 +00:00
parent d92ef17c06
commit 2c66131a5f
3 changed files with 13 additions and 13 deletions

View File

@@ -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?

View File

@@ -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
// //

View File

@@ -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;