mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
Miscing groups (#9004)
* Fixed party invite accepting * Fixed message sending and scrolling * Fixed profile clicking * Hids needs work * Added group plan page images * Added category to editing groups * Added quest box fix * Added tier styles * Changed port back to 8080 * Fixed npc style
This commit is contained in:
@@ -285,14 +285,14 @@ export default {
|
||||
|
||||
if (type === 'party') {
|
||||
// @TODO: pretty sure mutability is wrong. Need to check React docs
|
||||
this.user.invitations.party.splice(index, 1);
|
||||
this.user.invitations.parties.splice(index, 1);
|
||||
} else {
|
||||
this.user.invitations.guilds.splice(index, 1);
|
||||
}
|
||||
|
||||
if (type === 'party') {
|
||||
this.user.party._id = group.id;
|
||||
this.$router.push('/groups/party');
|
||||
this.$router.push('/party');
|
||||
} else {
|
||||
this.user.guilds.push(group.id);
|
||||
this.$router.push(`/groups/guild/${group.id}`);
|
||||
|
||||
Reference in New Issue
Block a user