Remove debug console.logs
This commit is contained in:
parent
86c6b231b6
commit
2750d98f36
2 changed files with 0 additions and 16 deletions
|
|
@ -79,13 +79,6 @@ export default {
|
||||||
emailAddress,
|
emailAddress,
|
||||||
servicePhone,
|
servicePhone,
|
||||||
extension } = useMainStore().contactInfo;
|
extension } = useMainStore().contactInfo;
|
||||||
console.log('Initial contact info loaded:', {
|
|
||||||
firstName,
|
|
||||||
lastName,
|
|
||||||
emailAddress,
|
|
||||||
servicePhone,
|
|
||||||
extension
|
|
||||||
});
|
|
||||||
return {
|
return {
|
||||||
isModalOpened: false,
|
isModalOpened: false,
|
||||||
firstName,
|
firstName,
|
||||||
|
|
@ -157,13 +150,6 @@ export default {
|
||||||
emailAddress,
|
emailAddress,
|
||||||
servicePhone,
|
servicePhone,
|
||||||
extension } = this.mainStore.contactInfo;
|
extension } = this.mainStore.contactInfo;
|
||||||
console.log('Resetting form values to:', {
|
|
||||||
firstName,
|
|
||||||
lastName,
|
|
||||||
emailAddress,
|
|
||||||
servicePhone,
|
|
||||||
extension
|
|
||||||
});
|
|
||||||
this.firstName = firstName;
|
this.firstName = firstName;
|
||||||
this.lastName = lastName;
|
this.lastName = lastName;
|
||||||
this.emailAddress = emailAddress;
|
this.emailAddress = emailAddress;
|
||||||
|
|
|
||||||
|
|
@ -2574,8 +2574,6 @@ export const useMainStore = defineStore({
|
||||||
|
|
||||||
updatePhoneNumbers(phoneNumbers) {
|
updatePhoneNumbers(phoneNumbers) {
|
||||||
const contact = this.order.contactInfo;
|
const contact = this.order.contactInfo;
|
||||||
console.log('Updating phone numbers with:', phoneNumbers);
|
|
||||||
console.log('Current contact info before update:', contact);
|
|
||||||
contact.homePhone = phoneNumbers.home !== undefined ? phoneNumbers.home : contact.homePhone;
|
contact.homePhone = phoneNumbers.home !== undefined ? phoneNumbers.home : contact.homePhone;
|
||||||
contact.alternativePhone = phoneNumbers.alternative !== undefined ? phoneNumbers.alternative : contact.alternativePhone;
|
contact.alternativePhone = phoneNumbers.alternative !== undefined ? phoneNumbers.alternative : contact.alternativePhone;
|
||||||
contact.servicePhone = phoneNumbers.service !== undefined ? phoneNumbers.service : contact.servicePhone;
|
contact.servicePhone = phoneNumbers.service !== undefined ? phoneNumbers.service : contact.servicePhone;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue