From bc4770577adf9bc529a0a3ff70480c2b48c5f0d5 Mon Sep 17 00:00:00 2001 From: theneelshah Date: Sat, 27 Aug 2022 02:15:32 +0530 Subject: [PATCH] Fix prop change handler for guild challenges. (#14169) Fix props' change handler which is called when guild is changed from notification. Tests: + Guild challenges updated successfully when guild is changed from notification center. Co-authored-by: neel --- .../client/src/components/challenges/groupChallenges.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/website/client/src/components/challenges/groupChallenges.vue b/website/client/src/components/challenges/groupChallenges.vue index 6a19e34700..fc370700c8 100644 --- a/website/client/src/components/challenges/groupChallenges.vue +++ b/website/client/src/components/challenges/groupChallenges.vue @@ -112,10 +112,8 @@ export default { }, }, watch: { - 'group._id': { - async groupId () { - this.loadChallenges(); - }, + 'group._id': function groupId () { + this.loadChallenges(); }, }, mounted () {