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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.0.685",
3
+ "version": "0.0.686",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
@@ -98,7 +98,7 @@ export const TaskProgress = (props) => {
98
98
  */
99
99
  export const TaskMonitor = (props) => {
100
100
 
101
- const { title = "Task Monitor" } = props
101
+ const { title = "Task Monitor", filters } = props
102
102
 
103
103
  const context = useContext(TaskContext)
104
104
  const [tasks = [], setTasks] = useState([])
@@ -112,7 +112,7 @@ export const TaskMonitor = (props) => {
112
112
  }, [])
113
113
 
114
114
  async function refresh() {
115
- const tasks = await context.tasks()
115
+ const tasks = await context.tasks(filters)
116
116
  setTasks(tasks)
117
117
  }
118
118