update members list and count when joining or leaving challenge (#11542)

* update members list and count when joining or leaving challenge

* remove custom ui logic and use response/fetch data to update challenge
This commit is contained in:
Adam Fitzgibbon
2019-11-25 10:19:52 -06:00
committed by Matteo Pagliazzi
parent 9a6f98b0b5
commit f70f7b2a1c
2 changed files with 11 additions and 2 deletions
@@ -54,6 +54,7 @@ export default {
this.close();
},
close () {
this.$emit('update-challenge');
this.$root.$emit('bv::hide::modal', 'leave-challenge-modal');
},
},