Commit 41f59952 authored by Samir Sadyhov's avatar Samir Sadyhov 🤔

update _RCC.js - добавлен ход выполнения для есэдо документов

parent 9fcff5f7
...@@ -131,12 +131,14 @@ const parseHistory = data => { ...@@ -131,12 +131,14 @@ const parseHistory = data => {
return span; return span;
} }
const isShow = ({ showInHistory, external }) => showInHistory || external;
const f = (d, funcIndex) => { const f = (d, funcIndex) => {
d.forEach((x, i) => { d.forEach((x, i) => {
const t = []; const t = [];
const {showInHistory, name, started, finished, comment, userName, authorName, finishedUser, subProcesses} = x; const {name, started, finished, comment, userName, authorName, finishedUser, subProcesses} = x;
if(showInHistory) { if(isShow(x)) {
t.push(getSpan(name, started, funcIndex)); t.push(getSpan(name, started, funcIndex));
t.push(getSpan(userName, started)); t.push(getSpan(userName, started));
t.push(getSpan(authorName, started)); t.push(getSpan(authorName, started));
......
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