mirror of
https://github.com/plankanban/planka.git
synced 2025-12-20 09:15:39 +03:00
ref: Little refactoring
This commit is contained in:
@@ -67,7 +67,7 @@ module.exports = {
|
||||
delete values.position;
|
||||
}
|
||||
|
||||
if (values.list.type === List.Types.CLOSED) {
|
||||
if (List.TYPE_STATE_BY_TYPE[values.list.type] === List.TypeStates.CLOSED) {
|
||||
values.isClosed = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user