Set the delete button class

parent 4575e5b1
......@@ -19,7 +19,8 @@
this.$confirm(this.deleteMessage, this.deleteTitle, {
confirmButtonText: this.trans('core.button.delete'),
cancelButtonText: this.trans('core.button.cancel'),
type: 'warning'
type: 'warning',
confirmButtonClass: 'el-button--danger',
}).then(() => {
let vm = this;
axios.delete(this.scope.row.urls.delete_url)
......
......@@ -96645,7 +96645,8 @@ exports.default = {
this.$confirm(this.deleteMessage, this.deleteTitle, {
confirmButtonText: this.trans('core.button.delete'),
cancelButtonText: this.trans('core.button.cancel'),
type: 'warning'
type: 'warning',
confirmButtonClass: 'el-button--danger'
}).then(function () {
var vm = _this;
axios.delete(_this.scope.row.urls.delete_url).then(function (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