mirror of
https://github.com/plankanban/planka.git
synced 2025-07-21 14:19:44 +02:00
fix: Fix styles, refactoring
This commit is contained in:
parent
c594e8bd71
commit
12f05adde7
20 changed files with 229 additions and 202 deletions
|
@ -49,6 +49,14 @@ module.exports = {
|
|||
throw 'positionMustBeInValues';
|
||||
}
|
||||
|
||||
if (values.dueDate) {
|
||||
if (_.isNil(values.isDueDateCompleted)) {
|
||||
values.isDueDateCompleted = false;
|
||||
}
|
||||
} else {
|
||||
delete values.isDueDateCompleted;
|
||||
}
|
||||
|
||||
const cards = await sails.helpers.lists.getCards(values.list.id);
|
||||
|
||||
const { position, repositions } = sails.helpers.utils.insertToPositionables(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue