utopia-ui 3.0.0-alpha.261 → 3.0.0-alpha.262
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.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -4452,6 +4452,7 @@ var onUpdateItem = function (state, item, tags, addTag, setLoading, navigate, up
|
|
4452
4452
|
},
|
4453
4453
|
},
|
4454
4454
|
})
|
4455
|
+
.catch(setLoading(false))
|
4455
4456
|
.then(function () { return item && updateItem(__assign(__assign({}, item), changedItem)); })
|
4456
4457
|
.then(function () {
|
4457
4458
|
setLoading(false);
|
@@ -4470,6 +4471,7 @@ var onUpdateItem = function (state, item, tags, addTag, setLoading, navigate, up
|
|
4470
4471
|
},
|
4471
4472
|
},
|
4472
4473
|
})
|
4474
|
+
.catch(setLoading(false))
|
4473
4475
|
.then(function () { var _a; return item && addItem(__assign(__assign(__assign({}, item), changedItem), { layer: item.layer, user_created: user, type: (_a = item.layer) === null || _a === void 0 ? void 0 : _a.itemType })); })
|
4474
4476
|
.then(function () {
|
4475
4477
|
setLoading(false);
|