Skip to content

Commit

Permalink
add button
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorosty committed Apr 3, 2024
1 parent 4a102e1 commit 298757c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ const dialogFactory = (core, proc, win) => {

const progressDialog = (name, cb = (() => {})) => dialog('progress', {
message: __('DIALOG_PROGRESS_MESSAGE', name),
buttons: []
buttons: ['Cancel']
}, cb, false);

const errorDialog = (error, message) => dialog('alert', {
Expand Down

0 comments on commit 298757c

Please sign in to comment.