changed event name to right place

Signed-off-by: Aminul Islam <me@aminul.net>
This commit is contained in:
Aminul Islam 2021-11-24 15:05:39 +06:00
parent 0d4af48338
commit 1adb05ea0e
2 changed files with 2 additions and 2 deletions

View File

@ -157,7 +157,7 @@ export default {
* Forward the newContact event to the parent
*/
newContact() {
this.$emit('newContact')
this.$emit('new-contact')
},
/**

View File

@ -44,7 +44,7 @@
<ContactsContent v-else
:contacts-list="contactsList"
:loading="loadingContacts"
@newContact="newContact" />
@new-contact="newContact" />
<!-- Import modal -->
<Modal v-if="isImporting"