Commit 4efad558 authored by Samir Sadyhov's avatar Samir Sadyhov 🤔

timeline - смотреть на любой тип этапа маршрута

parent ea9ef0a8
......@@ -173,7 +173,7 @@ class Timeline {
const result = [];
const search = p => {
p.forEach(x => {
if (x.typeID == 'ASSIGNMENT_ITEM' && x.started && !x.finished && x.code == code) result.push(x);
if (x.started && !x.finished && x.code == code) result.push(x);
if (x.subProcesses.length > 0) search(x.subProcesses);
});
}
......@@ -185,7 +185,7 @@ class Timeline {
const result = [];
const search = p => {
p.forEach(x => {
if (x.typeID == 'ASSIGNMENT_ITEM' && x.finished && x.code == code) result.push(x);
if (x.finished && x.code == code) result.push(x);
if (x.subProcesses.length > 0) search(x.subProcesses);
});
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment