mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-03 08:21:07 +00:00
fix(quests): Basilist error with no party
This commit is contained in:
parent
593178a46a
commit
696317ea8a
1 changed files with 1 additions and 1 deletions
|
|
@ -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', {
|
||||
|
|
|
|||
Loading…
Reference in a new issue