diff --git a/resources/assets/vue/components/companies/elements/CompanyDetailsComponent.vue b/resources/assets/vue/components/companies/elements/CompanyDetailsComponent.vue index b258a4f0..4d02b219 100644 --- a/resources/assets/vue/components/companies/elements/CompanyDetailsComponent.vue +++ b/resources/assets/vue/components/companies/elements/CompanyDetailsComponent.vue @@ -1,6 +1,6 @@ + @@ -243,20 +201,7 @@ }) } }, - mounted(){ - this.$root.$on('deleteAddressConfirm', (id) => { - this.address_id=id; - $("#deleteAddressModal").closest('.modal').modal('show'); - }); - this.$root.$on('updateAddressForm', (address, show) => { - if(show) { - this.address = address; - this.displayAddressForm = true; - }else{ - this.displayAddressForm = false; - } - }); - }, + watch: { pendingQueue(inComplete){ if(inComplete){