ref: Little refactoring

This commit is contained in:
Maksim Eltyshev
2025-07-14 14:54:06 +02:00
parent 70cadcd974
commit 3aba4d4a56
14 changed files with 123 additions and 52 deletions

View File

@@ -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;
}