refactor: remove useless assignment
This commit is contained in:
parent
6664b6ec62
commit
082d9e55c6
1 changed files with 1 additions and 3 deletions
|
@ -22,7 +22,7 @@ export default async function (text, title) {
|
|||
return Promise.resolve();
|
||||
}
|
||||
|
||||
const items = [
|
||||
options.buttons = [
|
||||
{
|
||||
name: globalize.translate('ButtonGotIt'),
|
||||
id: 'ok',
|
||||
|
@ -30,7 +30,5 @@ export default async function (text, title) {
|
|||
}
|
||||
];
|
||||
|
||||
options.buttons = items;
|
||||
|
||||
return dialog.show(options);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue