mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-14 02:02:19 +00:00
Merge branch 'release' into develop
This commit is contained in:
commit
4cc2c985d7
3 changed files with 3 additions and 2 deletions
2
package-lock.json
generated
2
package-lock.json
generated
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "habitica",
|
||||
"version": "4.188.1",
|
||||
"version": "4.188.2",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "habitica",
|
||||
"description": "A habit tracker app which treats your goals like a Role Playing Game.",
|
||||
"version": "4.188.1",
|
||||
"version": "4.188.2",
|
||||
"main": "./website/server/index.js",
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.12.10",
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ function _findMysteryItems (user, dateMoment) {
|
|||
_.each(shared.content.gear.flat, item => {
|
||||
if (
|
||||
item.klass === 'mystery'
|
||||
&& shared.content.mystery[item.mystery]
|
||||
&& dateMoment.isSameOrAfter(shared.content.mystery[item.mystery].start)
|
||||
&& dateMoment.isSameOrBefore(moment(shared.content.mystery[item.mystery].end).endOf('day'))
|
||||
&& !user.items.gear.owned[item.key]
|
||||
|
|
|
|||
Loading…
Reference in a new issue