Fixing success message

parent 8de8ecec
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
this.loading = false; this.loading = false;
this.$message({ this.$message({
type: 'success', type: 'success',
message: response.message, message: response.data.message,
}); });
this.dialogFormVisible = false; this.dialogFormVisible = false;
this.$events.emit('mediaWasUpdated', response); this.$events.emit('mediaWasUpdated', response);
......
...@@ -106745,7 +106745,7 @@ exports.default = { ...@@ -106745,7 +106745,7 @@ exports.default = {
_this.loading = false; _this.loading = false;
_this.$message({ _this.$message({
type: 'success', type: 'success',
message: response.message message: response.data.message
}); });
_this.dialogFormVisible = false; _this.dialogFormVisible = false;
_this.$events.emit('mediaWasUpdated', response); _this.$events.emit('mediaWasUpdated', response);
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