mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
choose todo over coverage
This commit is contained in:
parent
bf24d15d96
commit
741d0c2b97
@ -416,6 +416,7 @@ export class ContributionResolver {
|
|||||||
const creationDateObj = new Date(creationDate)
|
const creationDateObj = new Date(creationDate)
|
||||||
let creations = await getUserCreation(emailContact.user.id, clientTimezoneOffset)
|
let creations = await getUserCreation(emailContact.user.id, clientTimezoneOffset)
|
||||||
|
|
||||||
|
// TODO: remove this restriction
|
||||||
if (contributionToUpdate.contributionDate.getMonth() === creationDateObj.getMonth()) {
|
if (contributionToUpdate.contributionDate.getMonth() === creationDateObj.getMonth()) {
|
||||||
creations = updateCreations(creations, contributionToUpdate, clientTimezoneOffset)
|
creations = updateCreations(creations, contributionToUpdate, clientTimezoneOffset)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user