mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
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:
@@ -112,12 +112,10 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
'group._id': {
|
'group._id': function groupId () {
|
||||||
async groupId () {
|
|
||||||
this.loadChallenges();
|
this.loadChallenges();
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
|
||||||
mounted () {
|
mounted () {
|
||||||
this.loadChallenges();
|
this.loadChallenges();
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user