mirror of
https://github.com/plankanban/planka.git
synced 2025-12-18 17:23:21 +03:00
feat: Add ability to hide completed tasks (#1210)
This commit is contained in:
@@ -33,6 +33,9 @@ module.exports = {
|
||||
showOnFrontOfCard: {
|
||||
type: 'boolean',
|
||||
},
|
||||
hideCompletedTasks: {
|
||||
type: 'boolean',
|
||||
},
|
||||
},
|
||||
|
||||
exits: {
|
||||
@@ -64,7 +67,7 @@ module.exports = {
|
||||
throw Errors.NOT_ENOUGH_RIGHTS;
|
||||
}
|
||||
|
||||
const values = _.pick(inputs, ['position', 'name', 'showOnFrontOfCard']);
|
||||
const values = _.pick(inputs, ['position', 'name', 'showOnFrontOfCard', 'hideCompletedTasks']);
|
||||
|
||||
const taskList = await sails.helpers.taskLists.createOne.with({
|
||||
project,
|
||||
|
||||
Reference in New Issue
Block a user