mirror of https://github.com/nextcloud/contacts
changed event name to right place
Signed-off-by: Aminul Islam <me@aminul.net>
This commit is contained in:
parent
0d4af48338
commit
1adb05ea0e
|
@ -157,7 +157,7 @@ export default {
|
|||
* Forward the newContact event to the parent
|
||||
*/
|
||||
newContact() {
|
||||
this.$emit('newContact')
|
||||
this.$emit('new-contact')
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
<ContactsContent v-else
|
||||
:contacts-list="contactsList"
|
||||
:loading="loadingContacts"
|
||||
@newContact="newContact" />
|
||||
@new-contact="newContact" />
|
||||
|
||||
<!-- Import modal -->
|
||||
<Modal v-if="isImporting"
|
||||
|
|
Loading…
Reference in New Issue