diff --git a/Modules/Media/Assets/js/components/MoveMediaDialog.vue b/Modules/Media/Assets/js/components/MoveMediaDialog.vue index 5a1011f5e..43e08f2d3 100644 --- a/Modules/Media/Assets/js/components/MoveMediaDialog.vue +++ b/Modules/Media/Assets/js/components/MoveMediaDialog.vue @@ -61,7 +61,7 @@ this.dialogFormVisible = false; this.$events.emit('mediaWasMoved', response); }) - .catch((error) => { + .catch(() => { this.loading = false; this.$notify.error({ title: 'Error', diff --git a/public/js/app.js b/public/js/app.js index 05fba8d34..d8501e41a 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -104232,7 +104232,7 @@ exports.default = { }); _this.dialogFormVisible = false; _this.$events.emit('mediaWasMoved', response); - }).catch(function (error) { + }).catch(function () { _this.loading = false; _this.$notify.error({ title: 'Error',