ywana-core8 0.0.685 → 0.0.686
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +3 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +3 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/incubator/task.js +2 -2
package/dist/index.cjs
CHANGED
@@ -10000,7 +10000,7 @@ var TaskMonitor = function TaskMonitor(props) {
|
|
10000
10000
|
|
10001
10001
|
var refresh = function refresh() {
|
10002
10002
|
try {
|
10003
|
-
return Promise.resolve(context.tasks()).then(function (tasks) {
|
10003
|
+
return Promise.resolve(context.tasks(filters)).then(function (tasks) {
|
10004
10004
|
setTasks(tasks);
|
10005
10005
|
});
|
10006
10006
|
} catch (e) {
|
@@ -10009,7 +10009,8 @@ var TaskMonitor = function TaskMonitor(props) {
|
|
10009
10009
|
};
|
10010
10010
|
|
10011
10011
|
var _props$title = props.title,
|
10012
|
-
title = _props$title === void 0 ? "Task Monitor" : _props$title
|
10012
|
+
title = _props$title === void 0 ? "Task Monitor" : _props$title,
|
10013
|
+
filters = props.filters;
|
10013
10014
|
var context = React.useContext(TaskContext);
|
10014
10015
|
|
10015
10016
|
var _useState2 = React.useState([]),
|