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?
|
||||
|
||||
|
||||
|
||||
@@ -4,6 +4,18 @@
|
||||
// Menu utils and handlers
|
||||
//
|
||||
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
|
||||
//
|
||||
|
||||
@@ -145,16 +145,7 @@ export default {
|
||||
});
|
||||
},
|
||||
supportLink() {
|
||||
console.log(window.$gz.store.state.globalSettings);
|
||||
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
|
||||
return window.$gz.menu.contactSupportUrl();
|
||||
},
|
||||
async generate() {
|
||||
let vm = this;
|
||||
|
||||
Reference in New Issue
Block a user