diff options
author | Aminul Islam <me@aminul.net> | 2021-11-24 15:05:39 +0600 |
---|---|---|
committer | Aminul Islam <me@aminul.net> | 2021-11-25 09:35:02 +0600 |
commit | 1adb05ea0ee72c357af5d026eb22735abea2a2db (patch) | |
tree | 5086ec5eba8701e844adc5e9777bbd0f7903fee2 /src | |
parent | 0d4af483386950cea07fbb542b49affa94cb2d70 (diff) |
changed event name to right place
Signed-off-by: Aminul Islam <me@aminul.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/AppContent/ContactsContent.vue | 2 | ||||
-rw-r--r-- | src/views/Contacts.vue | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/components/AppContent/ContactsContent.vue b/src/components/AppContent/ContactsContent.vue index 3fdde2af..7cd2ef3d 100644 --- a/src/components/AppContent/ContactsContent.vue +++ b/src/components/AppContent/ContactsContent.vue @@ -157,7 +157,7 @@ export default { * Forward the newContact event to the parent */ newContact() { - this.$emit('newContact') + this.$emit('new-contact') }, /** diff --git a/src/views/Contacts.vue b/src/views/Contacts.vue index 53fc45c8..78420b38 100644 --- a/src/views/Contacts.vue +++ b/src/views/Contacts.vue @@ -44,7 +44,7 @@ <ContactsContent v-else :contacts-list="contactsList" :loading="loadingContacts" - @newContact="newContact" /> + @new-contact="newContact" /> <!-- Import modal --> <Modal v-if="isImporting" |