diff --git a/src/admin/components/edition/category-edition-form.vue b/src/admin/components/edition/category-edition-form.vue index b36fcd530..6d7422845 100644 --- a/src/admin/components/edition/category-edition-form.vue +++ b/src/admin/components/edition/category-edition-form.vue @@ -223,7 +223,7 @@ .then(samplePermalink => { let promise = htmlToJSON.parse(samplePermalink, { - permalink($doc, $) { + permalink($doc) { return $doc.find('#editable-post-name-full').text(); } }); diff --git a/src/admin/components/lists/categories-list.vue b/src/admin/components/lists/categories-list.vue index d95ae5af8..e30740e32 100644 --- a/src/admin/components/lists/categories-list.vue +++ b/src/admin/components/lists/categories-list.vue @@ -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'),