summaryrefslogtreecommitdiffstats
path: root/src/components/ContactsList.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ContactsList.vue')
-rw-r--r--src/components/ContactsList.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/ContactsList.vue b/src/components/ContactsList.vue
index a8a20312..f2200693 100644
--- a/src/components/ContactsList.vue
+++ b/src/components/ContactsList.vue
@@ -93,12 +93,12 @@ export default {
},
watch: {
- selectedContact: function(key) {
+ selectedContact(key) {
this.$nextTick(() => {
this.scrollToContact(key)
})
},
- list: function(val, old) {
+ list(val, old) {
// we just loaded the list and the url already have a selected contact
// if not, the selectedContact watcher will take over
// to select the first entry