Merge branch 'develop' into sabrecat/teams-rebase

This commit is contained in:
SabreCat
2022-06-16 14:11:47 -05:00
80 changed files with 590 additions and 317 deletions

View File

@@ -257,6 +257,11 @@ export default {
this.group = await this.$store.dispatch('guilds:getGroup', {
groupId: this.searchId,
});
if (!this.group?.purchased?.active) {
if (this.group.type === 'guild') this.$router.push(`/groups/guild/${this.group._id}`);
if (this.group.type === 'party') this.$router.push('/party');
return;
}
this.$store.dispatch('common:setTitle', {
subSection: this.group.name,
section: this.$route.path.startsWith('/group-plans') ? this.$t('groupPlans') : this.$t('group'),