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 <neel@helpshift.com>
This commit is contained in:
theneelshah
2022-08-27 02:15:32 +05:30
committed by GitHub
parent f158852be5
commit bc4770577a

View File

@@ -112,10 +112,8 @@ export default {
}, },
}, },
watch: { watch: {
'group._id': { 'group._id': function groupId () {
async groupId () { this.loadChallenges();
this.loadChallenges();
},
}, },
}, },
mounted () { mounted () {