From 0ca145ac951d122332b07367308a93ba2f9c7710 Mon Sep 17 00:00:00 2001 From: Edijs Date: Thu, 14 Feb 2019 13:19:00 -0700 Subject: [PATCH 1/2] Watch user change in follow-list --- src/components/follow_list/follow_list.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/follow_list/follow_list.js b/src/components/follow_list/follow_list.js index acdb216d..7771d61a 100644 --- a/src/components/follow_list/follow_list.js +++ b/src/components/follow_list/follow_list.js @@ -55,6 +55,9 @@ const FollowList = { } } }, + watch: { + '$route': 'fetchEntries' + }, components: { UserCard } From 3398817c25c0d9bea92dc1549842db434a9adbf9 Mon Sep 17 00:00:00 2001 From: Edijs Date: Thu, 14 Feb 2019 13:25:22 -0700 Subject: [PATCH 2/2] watch only user --- src/components/follow_list/follow_list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/follow_list/follow_list.js b/src/components/follow_list/follow_list.js index 7771d61a..45b39f42 100644 --- a/src/components/follow_list/follow_list.js +++ b/src/components/follow_list/follow_list.js @@ -56,7 +56,7 @@ const FollowList = { } }, watch: { - '$route': 'fetchEntries' + 'user': 'fetchEntries' }, components: { UserCard