Eslint suggestions

This commit is contained in:
weryques 2018-03-23 15:49:11 -03:00
parent 9bbc90192b
commit ab5348d5a1
2 changed files with 3 additions and 3 deletions

View File

@ -223,7 +223,7 @@
.then(samplePermalink => {
let promise = htmlToJSON.parse(samplePermalink, {
permalink($doc, $) {
permalink($doc) {
return $doc.find('#editable-post-name-full').text();
}
});

View File

@ -127,7 +127,7 @@
message: this.$i18n.get('info_warning_category_delete'),
onConfirm: () => {
this.deleteCategory(categoryId)
.then((res) => {
.then(() => {
this.$toast.open({
duration: 3000,
message: this.$i18n.get('info_category_deleted'),
@ -140,7 +140,7 @@
this.selectedCategories.splice(i, 1);
}
})
.catch((error) => {
.catch(() => {
this.$toast.open({
duration: 3000,
message: this.$i18n.get('info_error_deleting_category'),