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