This commit is contained in:
@@ -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