diff --git a/website/client/assets/svg/grey-badge.svg b/website/client/assets/svg/grey-badge.svg index 1350b45b70..09cca8e468 100644 --- a/website/client/assets/svg/grey-badge.svg +++ b/website/client/assets/svg/grey-badge.svg @@ -1,13 +1 @@ - - - - - - - - - - - - - +Empty_Large \ No newline at end of file diff --git a/website/client/components/challenges/groupChallenges.vue b/website/client/components/challenges/groupChallenges.vue index da28ab7ee9..411c9fd868 100644 --- a/website/client/components/challenges/groupChallenges.vue +++ b/website/client/components/challenges/groupChallenges.vue @@ -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 () { diff --git a/website/client/components/groups/groupFormModal.vue b/website/client/components/groups/groupFormModal.vue index f39d62a5a7..5bf5116851 100644 --- a/website/client/components/groups/groupFormModal.vue +++ b/website/client/components/groups/groupFormModal.vue @@ -47,12 +47,12 @@ label strong(v-once) {{$t('description')}}* div.description-count {{charactersRemaining}} {{ $t('charactersRemaining') }} - b-form-input(type="text", textarea :placeholder="creatingParty ? $t('partyDescriptionPlaceHolder') : $t('guildDescriptionPlaceHolder')", v-model="workingGuild.description") + textarea.form-control(:placeholder="creatingParty ? $t('partyDescriptionPlaceHolder') : $t('guildDescriptionPlaceHolder')", v-model="workingGuild.description") - .form-group(v-if='workingGuild.id && !creatingParty') + .form-group(v-if='!creatingParty') label strong(v-once) {{$t('guildInformation')}}* - b-form-input(type="text", textarea, :placeholder="$t('guildInformationPlaceHolder')", v-model="workingGuild.guildInformation") + textarea.form-control(:placeholder="$t('guildInformationPlaceHolder')", v-model="workingGuild.guildInformation") .form-group(v-if='creatingParty && !workingGuild.id') span @@ -89,17 +89,21 @@ button(@click.prevent='addMemberToInvite()') Add .form-group.text-center - div.item-with-icon(v-if='!creatingParty') + div.item-with-icon(v-if='!creatingParty && !workingGuild.id') .svg-icon(v-html="icons.gem") span.count 4 button.btn.btn-primary.btn-md(v-if='!workingGuild.id', :disabled='!workingGuild.name || !workingGuild.description') {{ creatingParty ? $t('createParty') : $t('createGuild') }} button.btn.btn-primary.btn-md(v-if='workingGuild.id', :disabled='!workingGuild.name || !workingGuild.description') {{ creatingParty ? $t('updateParty') : $t('updateGuild') }} - .gem-description(v-once, v-if='!creatingParty') {{ $t('guildGemCostInfo') }} + .gem-description(v-once, v-if='!creatingParty && !workingGuild.id') {{ $t('guildGemCostInfo') }}