diff --git a/client/modules/crm/src/views/calendar/modals/edit.js b/client/modules/crm/src/views/calendar/modals/edit.js index 2cfcf068c2..f2714bf8a9 100644 --- a/client/modules/crm/src/views/calendar/modals/edit.js +++ b/client/modules/crm/src/views/calendar/modals/edit.js @@ -130,8 +130,7 @@ Espo.define('crm:views/calendar/modals/edit', 'views/modals/edit', function (Dep if (this.id) { this.buttonList.splice(1, 0, { name: 'remove', - text: this.translate('Remove'), - style: 'danger' + text: this.translate('Remove') }); } }, diff --git a/client/src/views/modals/detail.js b/client/src/views/modals/detail.js index a83beb08e2..94b2fd1bc0 100644 --- a/client/src/views/modals/detail.js +++ b/client/src/views/modals/detail.js @@ -165,8 +165,7 @@ Espo.define('views/modals/detail', 'views/modal', function (Dep) { addRemoveButton: function () { this.addButton({ name: 'remove', - label: 'Remove', - style: 'danger' + label: 'Remove' }, true); },