mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 07:50:12 +01:00
BUG FIX: archived cards still sent out notification
This commit is contained in:
parent
a37723f8a4
commit
8d7714760c
1 changed files with 1 additions and 0 deletions
|
|
@ -1558,6 +1558,7 @@ function cardRemover(userId, doc) {
|
||||||
const findDueCards = days => {
|
const findDueCards = days => {
|
||||||
const seekDue = ($from, $to, activityType) => {
|
const seekDue = ($from, $to, activityType) => {
|
||||||
Cards.find({
|
Cards.find({
|
||||||
|
archived: false,
|
||||||
dueAt: { $gte: $from, $lt: $to },
|
dueAt: { $gte: $from, $lt: $to },
|
||||||
}).forEach(card => {
|
}).forEach(card => {
|
||||||
const username = Users.findOne(card.userId).username;
|
const username = Users.findOne(card.userId).username;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue