diff --git a/src/components/CreateLocationModal.vue b/src/components/CreateLocationModal.vue index 30db8a4..a9bf4d7 100644 --- a/src/components/CreateLocationModal.vue +++ b/src/components/CreateLocationModal.vue @@ -78,6 +78,7 @@ locationForm.address = props.location.address; locationForm.description = props.location.description; locationForm.zipcode = props.location.zipcode; + console.log(props.location); } else { Object.assign(locationForm, initState); } @@ -104,10 +105,12 @@ description: locationForm.description, company: authStore.user.company, type: locationForm.location_type, - zipcode: locationForm.zipcode - + zipcode: locationForm.zipcode, + alert_list: emails.value.length > 0 ? emails.value : null } + console.log(branchData); + let result = 'error'; let action = t('directory.msgLocationCreated'); loading.value = true; @@ -286,7 +289,7 @@