diff --git a/resources/views/buttons/revert.blade.php b/resources/views/buttons/revert.blade.php index 240df97..a17b49a 100644 --- a/resources/views/buttons/revert.blade.php +++ b/resources/views/buttons/revert.blade.php @@ -27,8 +27,22 @@ function revertEntry(button) { title: trans.warning, text: trans.revert_confirm, icon: 'warning', - buttons: [trans.cancel, trans.revert], - dangerMode: true, + buttons: { + cancel: { + text: trans.cancel, + value: null, + visible: true, + className: "bg-secondary", + closeModal: true, + }, + delete: { + text: trans.revert, + value: true, + visible: true, + className: "bg-danger", + }, + }, + dangerMode: true, }).then((value) => { if (! value) return;