mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
fix(quests): Basilist error with no party
This commit is contained in:
@@ -213,7 +213,7 @@ angular.module('habitrpg')
|
||||
function inviteOrStartParty (group) {
|
||||
Analytics.track({'hitType':'event','eventCategory':'button','eventAction':'click','eventLabel':'Invite Friends'});
|
||||
|
||||
if (group.type === "party" || $location.$$path === "/options/groups/party") {
|
||||
if (group && group.type === "party" || $location.$$path === "/options/groups/party") {
|
||||
group.type = 'party';
|
||||
|
||||
$rootScope.openModal('invite-party', {
|
||||
|
||||
Reference in New Issue
Block a user