This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
//NOTE: This is a simple form with no need for business rules or validation so stripped out any extraneous code related to all that
|
||||
//
|
||||
const FORM_KEY = "customize";
|
||||
const API_BASE_URL = "FormCustom/";
|
||||
const API_BASE_URL = "form-custom/";
|
||||
export default {
|
||||
beforeRouteLeave(to, from, next) {
|
||||
//let vm = this;
|
||||
@@ -394,7 +394,7 @@ function ensureTemplateIsInStore(vm) {
|
||||
function initDataObject(vm) {
|
||||
//Get all the fields *available* to this form (all the fields for the object defined in AyaFormFieldDefinitions.cs as SERVER)
|
||||
//Note: this is not the actual customization data, just the list of fields that could be customized (or not if required mandatory)
|
||||
let url = "FormFieldsDefinitions/" + vm.$route.params.formCustomTemplateKey;
|
||||
let url = "form-field-definition/" + vm.$route.params.formCustomTemplateKey;
|
||||
return window.$gz.api.get(url).then(res => {
|
||||
if (res.error) {
|
||||
throw res.error;
|
||||
|
||||
Reference in New Issue
Block a user