New client group fixes (#8965)

* Fixed gem styles

* Fixed party challenge logic

* Fixed category sending

* Filtered habitrpg

* Fixed updating group

* Added new empty state badge

* Added information to create group

* Fixed large icons

* Fixed name collision
This commit is contained in:
Keith Holliday
2017-08-18 14:29:49 -06:00
committed by GitHub
parent cbee0542ad
commit 2b922508c5
6 changed files with 36 additions and 28 deletions

View File

@@ -97,7 +97,7 @@ export default {
},
async mounted () {
this.groupIdForChallenges = this.groupId;
if (this.user.party._id) this.groupIdForChallenges = this.user.party._id;
if (this.groupId === 'party' && this.user.party._id) this.groupIdForChallenges = this.user.party._id;
this.challenges = await this.$store.dispatch('challenges:getGroupChallenges', {groupId: this.groupIdForChallenges});
},
data () {