Avoiding eslint warnings

parent 0ba81e87
......@@ -191,8 +191,10 @@
});
this.$refs.pageTable.clearSelection();
this.data.filter(page => pageIds.indexOf(page.id) >= 0)
.map((page) => {
.map((p) => {
const page = p;
page.translations.status = action === 'mark-online';
return page;
});
})
.catch(() => {
......
......@@ -91994,8 +91994,10 @@ exports.default = {
_this2.$refs.pageTable.clearSelection();
_this2.data.filter(function (page) {
return pageIds.indexOf(page.id) >= 0;
}).map(function (page) {
}).map(function (p) {
var page = p;
page.translations.status = action === 'mark-online';
return page;
});
}).catch(function () {
_this2.$message({
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment