ywana-core8 0.0.777 → 0.0.779
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 +2 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +2 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +2 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/incubator/task.js +2 -4
package/dist/index.umd.js
CHANGED
@@ -10996,8 +10996,8 @@
|
|
10996
10996
|
var createTask = function createTask(task, listener) {
|
10997
10997
|
try {
|
10998
10998
|
return Promise.resolve(_catch(function () {
|
10999
|
-
return Promise.resolve(API.create(task)).then(function (
|
11000
|
-
if (listener) addListener(
|
10999
|
+
return Promise.resolve(API.create(task)).then(function (response) {
|
11000
|
+
if (listener) addListener(response.id, listener);
|
11001
11001
|
return response;
|
11002
11002
|
});
|
11003
11003
|
}, function (error) {
|
@@ -11180,7 +11180,6 @@
|
|
11180
11180
|
clearInterval(interval);
|
11181
11181
|
};
|
11182
11182
|
}, []);
|
11183
|
-
if (!tasks.length) return null;
|
11184
11183
|
var table = {
|
11185
11184
|
columns: [{
|
11186
11185
|
id: "state",
|