mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-22 05:44:16 +00:00
fix(challenges): check if subscribed only when in group
This commit is contained in:
parent
fc5f6a31ee
commit
128bd4b9cd
1 changed files with 1 additions and 1 deletions
|
|
@ -308,7 +308,7 @@ export default {
|
|||
return this.members.length < this.$store.state.memberModalOptions.memberCount;
|
||||
},
|
||||
groupIsSubscribed () {
|
||||
return this.group.purchased.active;
|
||||
return this.group.purchased && this.group.purchased.active;
|
||||
},
|
||||
group () {
|
||||
return this.$store.state.memberModalOptions.group;
|
||||
|
|
|
|||
Loading…
Reference in a new issue