mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-04 04:59:40 +00:00
Added field existence checks (#8356)
This commit is contained in:
parent
2f1b683ec9
commit
c61f660255
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ habitrpg.controller("GroupsCtrl", ['$scope', '$rootScope', 'Shared', 'Groups', '
|
|||
}
|
||||
|
||||
var sendInviteText = window.env.t('sendInvitations');
|
||||
if(group.purchased.plan.customerId) sendInviteText += window.env.t('groupAdditionalUserCost');
|
||||
if(group.purchased && group.purchased.plan && group.purchased.plan.customerId) sendInviteText += window.env.t('groupAdditionalUserCost');
|
||||
group.sendInviteText = sendInviteText;
|
||||
|
||||
$rootScope.openModal('invite-' + group.type, {
|
||||
|
|
|
|||
Loading…
Reference in a new issue