ywana-core8 0.0.684 → 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.
@@ -9917,7 +9917,7 @@ var TaskContextProvider = function TaskContextProvider(props) {
9917
9917
 
9918
9918
  var host = props.host,
9919
9919
  _props$url = props.url,
9920
- url = _props$url === void 0 ? "tasks" : _props$url,
9920
+ url = _props$url === void 0 ? "/tasks" : _props$url,
9921
9921
  children = props.children;
9922
9922
  var API = CollectionAPI(url, host);
9923
9923
  var value = {
@@ -9992,7 +9992,7 @@ var TaskMonitor = function TaskMonitor(props) {
9992
9992
 
9993
9993
  var refresh = function refresh() {
9994
9994
  try {
9995
- return Promise.resolve(context.tasks()).then(function (tasks) {
9995
+ return Promise.resolve(context.tasks(filters)).then(function (tasks) {
9996
9996
  setTasks(tasks);
9997
9997
  });
9998
9998
  } catch (e) {
@@ -10001,7 +10001,8 @@ var TaskMonitor = function TaskMonitor(props) {
10001
10001
  };
10002
10002
 
10003
10003
  var _props$title = props.title,
10004
- title = _props$title === void 0 ? "Task Monitor" : _props$title;
10004
+ title = _props$title === void 0 ? "Task Monitor" : _props$title,
10005
+ filters = props.filters;
10005
10006
  var context = useContext(TaskContext);
10006
10007
 
10007
10008
  var _useState2 = useState([]),