ronds-metadata 1.3.6 → 1.3.8
Sign up to get free protection for your applications and to get access to all the features.
@@ -3,10 +3,10 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
3
3
|
/*
|
4
4
|
* @Author: wangxian
|
5
5
|
* @Date: 2022-05-24 08:50:16
|
6
|
-
* @LastEditTime: 2023-09-12
|
6
|
+
* @LastEditTime: 2023-09-12 18:29:22
|
7
7
|
*/
|
8
8
|
import { GlobalOutlined } from '@ant-design/icons';
|
9
|
-
import { filter
|
9
|
+
import { filter } from 'rxjs/operators';
|
10
10
|
import '../index.less';
|
11
11
|
import Icon from '../../../comps/Icons';
|
12
12
|
import { NodeStatus } from './NodeStatus';
|
@@ -25,13 +25,13 @@ var NodeElement = function NodeElement(props) {
|
|
25
25
|
React.useEffect(function () {
|
26
26
|
var sub = gDPGraph && gDPGraph.factory$.executionStatus.pipe(filter(function (x) {
|
27
27
|
return !!x;
|
28
|
-
}), map(function (x) {
|
29
|
-
return x.statusList;
|
30
28
|
})).subscribe(function (v) {
|
31
|
-
var _status = v.find(function (it) {
|
29
|
+
var _status = v.statusList.find(function (it) {
|
32
30
|
return (it === null || it === void 0 ? void 0 : it.nodeId) === id;
|
33
31
|
});
|
34
|
-
setNodeStatus(_status)
|
32
|
+
setNodeStatus(_objectSpread(_objectSpread({}, _status), {}, {
|
33
|
+
debugId: v.debugId
|
34
|
+
}));
|
35
35
|
});
|
36
36
|
return function () {
|
37
37
|
sub.unsubscribe();
|