diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 94d83bb5..6f237aca 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -7,6 +7,8 @@ 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: error http://localhost:8080/adm-global-select-templates pick Customer get error at server: Check other ones as well diff --git a/ayanova/src/views/ay-evaluate.vue b/ayanova/src/views/ay-evaluate.vue index e4b6fffa..ec01cb3e 100644 --- a/ayanova/src/views/ay-evaluate.vue +++ b/ayanova/src/views/ay-evaluate.vue @@ -145,10 +145,16 @@ export default { }); }, supportLink() { - return ( - "https://contact.ayanova.com/contact?dbid=" + + 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 `http://localhost:3002/contact?dbid=${dbId}&company=${company}`; + // "https://contact.ayanova.com/contact?dbid=" + + // window.$gz.store.state.globalSettings.serverDbId }, async generate() { let vm = this;